No DNS name in DNS Server

Bug #43594 reported by E-B
10
Affects Status Importance Assigned to Milestone
dhcp3 (Ubuntu)
New
Medium
Unassigned

Bug Description

When I run a Windows maschine in my home network the dns-resolution works fine. (With nslookup I can find the machine name)
But when I run my Ubuntu Dapper machines (a laptop and a PC) I cannot ping both:
Host Name IP Address Creator
UNKNOWN 192.168.0.11 DHCP
UNKNOWN 192.168.0.8 DHCP

Im running Ubuntu Dapper newest version. My DNS Server is a Siemens Santis20 Server.

Revision history for this message
E-B (ebelt9hf) wrote :

/etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
        script grep
        map eth1

iface eth1 inet dhcp

cat /etc/hostname
sun

Revision history for this message
E-B (ebelt9hf) wrote :

I have solved this problem, by adding this lines to /etc/dhcp3/dhclient.conf:
send host-name "sun";
send dhcp-client-identifier <MAC_ADRESSE>;

Know the name resolution is working...

Revision history for this message
Hervé Fache (rvfh) wrote :

AFAICS the send host-name line is the only one required. Still, I think the set-up should be done by the installer, and everytime the hostname is modified using the proper tools thereafter.

Revision history for this message
E-B (ebelt9hf) wrote :

Yes, +1
If this should be done, it is a bug in network-admin.?!

I don't understand why this will not be done by default and why it work on some dns-servers.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.