Bug 246265 - Ignore illegal domain in DHCP host name
Summary: Ignore illegal domain in DHCP host name
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: dnsmasq
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jima
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-29 17:54 UTC by H.J. Lu
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-29 15:10:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
A patch to ignore illegal domain in DHCP host name (631 bytes, patch)
2007-06-29 17:54 UTC, H.J. Lu
no flags Details | Diff

Description H.J. Lu 2007-06-29 17:54:13 UTC
I am using a Windows notebook in office and home with DHCP. Its DHCP host
name is hlu-mobl.amr.corp.intel.com. At home, I got

Jun 29 10:37:10 video dnsmasq[6877]: Ignoring DHCP host name
hlu-mobl.amr.corp.intel.com because it has an illegal domain part

As the result, reverse name lookup won't work. This patch changes it
to

Jun 29 10:41:25 video dnsmasq[7274]: Ignoring domain amr.corp.intel.com in DHCP
host name hlu-mobl.amr.corp.intel.com

and I get

[root@video log]# nslookup  hlu-mobl
Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   hlu-mobl.in.lucon.org
Address: 192.168.10.184

[root@video log]#

Comment 1 H.J. Lu 2007-06-29 17:54:13 UTC
Created attachment 158226 [details]
A patch to ignore illegal domain in DHCP host name

Comment 2 H.J. Lu 2007-06-29 17:55:12 UTC
BTW, this how dhcp-3.0.5-4.fc6 works.

Comment 3 Jima 2007-08-29 15:10:33 UTC
Whoops.  Sorry I never addressed this.  I passed this on to upstream (Simon
Kelley), and his response was:

"Looks perfectly sensible to me: the code in question has changed some in the    
development tree, but I've provided the same behaviour there."

Not being a programmer, I can't make heads or tails of the code, but it indeed
looks fairly different in 2.40.

This seems (to me) like a bit of a radical change for a distro to be making to a
package, so I'm closing this as UPSTREAM.


Note You need to log in before you can comment on or make changes to this bug.