Re: taming resolv.conf



On Wed, Apr 16, 2008 at 08:00:12PM +0300, Andrei Popescu wrote:
On Wed, Apr 16, 2008 at 04:16:13PM +0000, Digby Tarvin wrote:

Any suggestions? I do like the idea of having any static nameserver
information in the /etc/network/interfaces file with the rest of
the network config, so resolvconf would be good if it worked as
expected....

If I understood correctly what you want you need this is
/etc/network/interfaces:

dns-nameserver 123.234.123.234

More info in /usr/share/doc/resolvconf/README.gz section 3.4

Regards,
Andrei

Not quite. I only want the static information in the interfaces file.
I still want the nameserver address that is supplied by DHCP to be
used.

I do know how to hardwire a nameserver and IP address if I am not
using DHCP, but resolvconf is not really so necessary in that
situation.

Regards,
DigbyT


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: taming resolv.conf
    ... I still want the nameserver address that is supplied by DHCP to be ... I don't think the static dns server in the interfaces file will override ... the resolvconf docs for this. ...
    (Debian-User)
  • Re: resolv.conf question
    ... and contains entries that I want to have new different ... authoritative source of nameserver addresses? ... the OP could get rid of NM and perhaps install the resolvconf ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: how to stop resolv.conf from being updated
    ... A sledgehammer approach to make it work: ... This will prevent dhcp from making a new /etc/resolv.conf file (on boot, ... Whatever nameserver you enter in /etc/resolv.conf will stay put. ... To unsubscribe, ...
    (freebsd-questions)
  • Re: taming resolv.conf
    ... so resolvconf would be good if it worked as ... I only want the static information in the interfaces file. ... I still want the nameserver address that is supplied by DHCP to be ...
    (Debian-User)
  • Re: Dovecot and Resolvconf issues
    ... through /etc/resolv.conf - where we supply a list of DNS servers to be ... The new system has that file, manipulated by the program resolvconf, and ... My ISP's nameserver went down and thus my caching ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)