Re: ftp fails first time when using apt-get
Daniel McBrearty <danielmcbrearty <at> gmail.com> writes:
>
> changing resolv.conf seems to have no effect. Is it read at start time or each
> time a DNS query happens?
>
> what's curious is that after I change it reverts back to 192.168.1.1 on a
> reboot. I guess this must be in response to something the router is telling it?
>
OK, I answered my own question ... the overwriting of resolv.conf is caused by
DHCP. I just changed all IP's to static, so that is gone.
I am unable to get my system to work with anything other than 192.168.1.1 in
resolv.conf though. The only options in the dlink router are:
- don't do DNS relay
- use auto-discover DNS
- use user DNS
and in any of those cases, doing DNS directly from the linux box doesn't work.
Reply to: