[Dnsmasq-discuss] Why doesn't this machine have a name?

Chris Green cl at isbd.net
Sat Jan 28 15:08:13 GMT 2012


I run a small home network with dnsmasq running on one of the machines
to provide DNS and DHCP services.  It all works fine but I've just
noticed that when I connect a laptop running xubuntu 11.10 to the system
it doesn't register its name with the dsnsmasq server.

Other machines seem to provide names without a problem (also running
xubuntu 11.10 or 11.04).

The laptop is working OK in every other respect, it can see the internet
and DNS works fine.

The server is running dnsmasq version 2.52 and runs ubuntu 10.04 LTS.
It's pretty much a default setup, there are some static addresses set up
in /etc/hosts:-

    192.168.1.1 vigor 2820n
    192.168.1.2 dps dps.zbmc.eu
    192.168.1.3 hp7310 HPEDDBB7 HP000D9D068F7D
    192.168.1.4 chris wiki boat info zbmc.eu
    192.168.1.5 maxinexp
    192.168.13.254 2wire BT2700HGV gateway.2wire.net

... and some simple additions to /etc/dnsmasq.conf:-

    #
    #
    # Custom additions
    #
    address=/www.google-analytics.com/127.0.0.1
    address=/ssl.google-analytics.com/127.0.0.1
    address=/www.addthis.com/127.0.0.1
    dhcp-host=00:90:a9:70:06:ff,backup
    dhcp-host=40:61:86:98:f2:41,chris
    local=/zbmc.eu/


If I do "arp-scan -l" from my desktop machine (chris) I see:-

    192.168.1.1     00:50:7f:8b:35:40       DrayTek Corp.
    192.168.1.2     00:01:6c:6c:c7:9b       FOXCONN
    192.168.1.6     00:04:4b:07:13:30       NVIDIA
    192.168.1.83    00:50:8d:93:fd:09       ABIT COMPUTER CORPORATION
    192.168.1.88    00:90:a9:70:06:ff       WESTERN DIGITAL
    192.168.1.99    00:23:8b:de:b6:d9       Quanta Computer Inc.
    192.168.1.122   78:ac:c0:63:90:d4       Hewlett Packard
    192.168.1.84    70:f1:a1:2d:da:86       Liteon Technology Corporation


... and then:-

    root at chris:~# host 192.168.1.83
    83.1.168.192.in-addr.arpa domain name pointer test.zbmc.eu.
    root at chris:~# host 192.168.1.99
    Host 99.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
    root at chris:~# host 192.168.1.84
    84.1.168.192.in-addr.arpa domain name pointer laptop.zbmc.eu.
    root at chris:~#

So why doesn't 192.168.1.99 have a name?  Both test.zbmc.eu and
laptop.zbmc.eu are running versions of xubuntu and they work perfectly
OK.  The only *very* slight difference with 192.168.1.99 is that its
name is acer-aspire, would that '-' have any effect?

-- 
Chris Green



More information about the Dnsmasq-discuss mailing list