Fixing the DNS issue

From ComputingPlugs

Jump to: navigation, search

There is a DNS issue with the default filesystem where the Sheeva Plug will not correctly grab the DNS servers from DHCP. This causes the Sheeva Plug to not be able to resolve any domain names. To fix the problem, edit the file /etc/dhcp3/dhclient.conf and comment out the line:

supersede domain-name-servers 127.0.0.1;

reboot the system and the Sheeva Plug will grab the DNS servers correctly from DHCP.



Comments:
  • Kenny Says:

    Please keep comments clean and constructive. Inappropriate comments will be removed. Thank you.

  • Jerome Warnier Says:

    Alternatively, you could easily install a local caching DNS server, such as dnsmasq: apt-get install dnsmasq

  • jojo Says:

    I don't have this line in /etc/dhcp3/dhclient.conf :

    # Configuration file for /sbin/dhclient, which is included in Debian's

    # dhcp3-client package.

    #

    # This is a sample configuration file for dhclient. See dhclient.conf's

    # man page for more information about the syntax of this file

    # and a more comprehensive list of the parameters understood by

    # dhclient.

    #

    # Normally, if the DHCP server provides reasonable information and does

    # not leave anything out (like the domain name, for example), then

    # few changes must be made to this file, if any.

    #

    option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

    send host-name "";

    #send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;

    #send dhcp-lease-time 3600;

    #supersede domain-name "fugue.com home.vix.com";

    #prepend domain-name-servers 127.0.0.1;

    request subnet-mask, broadcast-address, time-offset, routers,

    domain-name, domain-name-servers, domain-search, host-name,

    netbios-name-servers, netbios-scope, interface-mtu,

    dhclient.conf

    Is this code is OK?

    thanks

  • Kenny Says:

    I think it should.

Click here to leave a comment




... ...

Did you find this page useful?
Help others find this site
by linking here.

... ...
Personal tools