On Thu, 14 Nov 2002 [EMAIL PROTECTED] wrote: > I went in and messed with my lan today when I ran netstat while doing > telnet from the machine that was taking forever it showed the ips > nameserver address instead of the machines address. I replaced > resolv.conf with an empty file then telneting out and ftping in worked > properly. Put the nameserver lines back in long delays. That machine has > to have the isp nameserver addresses in resolv.conf and a default gw so > it can use masquarading to access the web through a firewall to pick up > email. The other machine does not need to access the web so no > nameserver lines in resolv.conf. I thought host.conf and now I am > learning nsswitch.conf insured that it would look at hosts first, but it > isn't working that way. How do I go about fixing this without losing > the ability to use the ISP nameserver to pickup mail?
Put the resolv.conf in and try to do a "nslookup -sil www.redhat.com". If you get long delays I'd bet your /etc/resolv.conf has the wrong ip addresses or the servers aren't responding. You seem to know nsswitch.conf determines the order of resolving, so you probably have that configured right. -- \ \/ / _ |~\ _ In God We Trust. All Others Pay Cash. > < / \|\ /|+-< | | "The world is a comedy to those that think, / /\ \\_/| \/ ||__)|_| a tragedy to those who feel." - Horace Walpole -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list