Re: Name resolution for local names using DHCP



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.

.



Relevant Pages

  • Re: network has gone down again, and I cannot figure out why
    ... search dns: dns.asm.bellsouth.net ... try against the secondary DNS server address. ... up DHCP on this end and now I can email. ... DHCP just configures your side of the network with the data that the ...
    (Fedora)
  • Re: VERY OT: ITs ALL GONE A BIT PC was: Slightly OT: Mackie Onyx Firewire system
    ... down to user access permissions. ... Windows XP Home uses the workgroup name: ... that all the users and passwords on your whole network exist on at least the XP machine or all the machines as this will ensure some commonality in the absence of a full network domain, and then to ensure that they are all connected with unique IP addresses to the same network subnet. ... Who had a single class B or C network with a DNS server on it? ...
    (uk.music.guitar)
  • Re: [SLE] IP addressing
    ... >shared across the network regardless of what type of realm is being used ... >do that by configuring your dhcp deamon to reserve particular IP ... >1- do not run DNS or dhcp on your novell (ofcourse you will have to run ...
    (SuSE)
  • Re: VPN connects but cannot browse network
    ... Resolution has to be done by allowing your clients to get the proper DNS ... WINS specs via the DHCP. ... added within RRAS when RRAS is being used as your VPN "engine". ... My clients can sucessfully connect but they cannot access my network. ...
    (microsoft.public.win2000.networking)
  • Re: Issues Possibly From Joining a Domain
    ... Go into the dhcp manager on both devices that provide leases and start looking for leases that are coming up as duplicate to try and track down which machine is causing you the issues. ... One network is not on any type of domain, ... There are two clients from the workgroup that were joined to the Win2K3 ...
    (microsoft.public.windows.server.active_directory)