On Thu, Nov 14, 2002 at 05:33:07PM -0600 or thereabouts, [EMAIL PROTECTED] wrote: > Hi, > 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. Well, if you need your ISP's DSN IPs in there fine, there are usually just 2 IP addresses for them, and you are allowed 3 in the resolv.conf file, so try adding in your IP address of that machine as the third address. You can even try starting named on that machine, just to use as a caching server, so you would not need to configure it, when you list that machine IP address. If you do that, I would then add that machine IP address first in the list, and put your ISPs DNS addresses below that. If it doesn't work out, you just kill the named service, and put things back to where they were. I run my own DNS servers on my LAN, but do not use named, but djbdns. I just have one address in my resolv.conf file, that of my DNS server, thereby bypassing my ISP altogether (much faster). Also, you can add domain yourdomain.com search yourdomain.com into the /etc/resolv.conf file also. You did not mention if you had that. > 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. As far as I know, if you list your files first in nsswitch it will come up first. You can't currently use DNS because you are not running your own resolver, but you know that. > How do I go about fixing this without losing the ability > to use the ISP nameserver to pickup mail? See above. -- Best regards, Gary sed '/^[when][coders]/!d /^...[discover].$/d /^..[real].[code]$/!d ' /usr/share/dict/words -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list