Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99644 - DNS domainname not set when provided by DHCP (unknown_domain)
Summary: DNS domainname not set when provided by DHCP (unknown_domain)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-20 02:30 UTC by Greisberger Christophe
Modified: 2005-07-21 01:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greisberger Christophe 2005-07-20 02:30:30 UTC
I'm using a single tree for diskless workstations, so I don't want to add 
entries to /etc/hosts since every host has a different name, provided by the 
dhcp server. 
 
But without an entry in this file, hostname -f fails with "hostname: unknown 
host" and the login prompt displays "This is ag01.unknown_domain (....." 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-07-20 02:42:06 UTC
You neglected to include the output of emerge --info

Also, which dhcp client are you using?
Comment 2 Greisberger Christophe 2005-07-20 03:37:30 UTC
Well, I thought that the emerge --info was not revelant. 
And I'm using dhcpcd. 
 
Anyway, I found I fixed the problem. You can set the status to INVALID. 
 
Cause: DNS entries for the diskless' not present. 
Reason: dhcpcd doesn't (afaik: can't) update M$ DNS server. 
        M$ f*****g DHCP server (Windows Server 2003) doesn't update M$ DNS 
        server, even with the right options ("always dynamically update DNS A 
        and PTR records" & "Dynamically update DNS A and PTR records for DHCP 
        clients that do not request updates") 
Solution: I had to create the entries manually. 
 
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-21 01:01:43 UTC
I want to remember that you had to tell M$ dhcp server to set DOMAIN, etc .. was
some time though sinve I did it ...
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-21 01:01:59 UTC
.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-21 01:02:13 UTC
.