Re: Name resolution for local names using DHCP
- From: Bit Twister <BitTwister@xxxxxxxxxxxxxxxx>
- Date: Mon, 17 Dec 2007 21:47:59 +0000 (UTC)
On Mon, 17 Dec 2007 15:40:33 -0600, Charles Russell wrote:
Thanks. I haven't time at the moment to experiment, but in the meanwhile
I have a question about the domain name. My network was originally set
up as a Windows XP network, with workgroup name "MSHOME", and later I
added a Linux box and a MacOSX box, both of which got handled
automatically by DHCP with no further router configuration. (Everything
works except for local name resolution, and even that works with samba
clients. MaxOSX and Linux behave identically.) As far as I know, I don't
have a named "domain", unless that is the same as the Windows network
workgroup.
domain name and workgroup are not the same. On my LAN the domain name
is not a registered domain so I put .invalid on the end of it. See
$ hostname --domain
home.invalid
looking in /etc/samba/smb.conf we see the work group defined
[global]
# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = MDKGROUP
With Linux, dhcpcd (I think) puts the line "search Belkin" into
resolv.conf. I have no idea what that is for.
Yep, search line is handed out by your dhcp server and placed there by
your dhcp client.
I remove the search line to speed up some dns look ups when I use dhcp
I use static ip for all machines on my LAN just to keep things simple.
That allows dns to use dns nameservers without searching the domain first.
.
- References:
- Name resolution for local names using DHCP
- From: Charles Russell
- Re: Name resolution for local names using DHCP
- From: Charles Russell
- Re: Name resolution for local names using DHCP
- From: Unruh
- Re: Name resolution for local names using DHCP
- From: Charles Russell
- Re: Name resolution for local names using DHCP
- From: Unruh
- Re: Name resolution for local names using DHCP
- From: Charles Russell
- Re: Name resolution for local names using DHCP
- From: Robert Harris
- Re: Name resolution for local names using DHCP
- From: Charles Russell
- Name resolution for local names using DHCP
- Prev by Date: Re: Name resolution for local names using DHCP
- Next by Date: Re: Name resolution for local names using DHCP
- Previous by thread: Re: Name resolution for local names using DHCP
- Next by thread: Re: Name resolution for local names using DHCP
- Index(es):
Relevant Pages
|