Which nameservers am I using?

Michael Hipp Michael
Sat May 28 20:12:36 PDT 2005


Mike Reinehr wrote:
> I'm not aware 
> of any options to specify a dns server in /etc/network/interfaces. How are 
> you doing it?

On this Ubuntu system that was installed with a static IP it has this in 
/etc/network/interfaces:

# The primary network interface
iface eth0 inet static
      address 192.168.0.4
      netmask 255.255.255.0
      network 192.168.0.0
      broadcast 192.168.0.255
      gateway 192.168.0.1
      # dns-* options are implemented by the resolvconf package, if installed
      dns-nameservers 192.168.0.1

And what troubles me is that once I deliver this server, that 192.168.0.1 will 
no longer be correct. Should I just commend it out?

Michael


More information about the Linux-users mailing list