Re: DHCP and DNS



You need to add the hostname dv6000 entry to hosts, or create your own zone
files and run bind. As these are private IP's you need either to update
hosts or run DNS. You may find it easier to give servers static private
IP's that way you are assured your hosts entries or DNS entries are correct.

AHA! where is my head? All the FreeBSD machines run samba.

# nmblookup asus fueno dv6000 hp_pavillion nat-valid-name \
| sed -e '/^query/d' -e '/name.*failed/d' -e 's/<00>//'
192.168.2.6 asus
192.168.2.3 fueno
192.168.2.5 dv6000
192.168.2.4 hp_pavillion

and, put this in /etc/hosts, periodically.

Then, all I need to know is the names of the machines, which I can put
on one machine and copy it to others.

Any other ideas?

tomdean
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: private and public version of same zone on a single server?
    ... > serves the same zone to the private network directly. ... > private version of the zone and public machines the ... This is not possible with MS DNS, ...
    (microsoft.public.windows.server.dns)
  • Re: Network: everything seems okay, but theres no connect
    ... Set up DNS. ... For local hostname lookup you can either fix the hosts ... Your windows machines having to contend themselves with LINK-LOCAL ... local- and caching DNS server, DHCP server, and maybe provide NTP too. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Windows 2K3 and Virtual Server 2005 guests NAT problem
    ... these machines are not able to connect to our ... internal network. ... If you want to have the two or three VMs on a private ... If you have configured DNS on the host and have set your vms to use this ...
    (microsoft.public.windows.server.networking)
  • Re: Flat Domain DNS Problem
    ... and a batch script to distribute it to the DMZ machines when you need to make changes. ... have a DNS server on the same system, the hosts file is not used to provide answers for DNS - it is stricly a resolution mechanism. ... depending on the suffix assignments on the machines - but this also only works for some environments. ...
    (microsoft.public.windows.server.dns)
  • Re: Accessing hosted domains inside a LAN
    ... > Yes I have set up named-based virtual hosts in the Apache config file. ... >Sanity check first:>Do you have a NAT gateway so you have to access the server with>a different IP number from inside clients? ... If you have enough machines to make this impractical>then you need to work with DNS. ... The DNS server for all machines is the ISP's >If they can be separate servers,>just point the internal machines at a server that you configure>as primary for the domain in question and loaded with the internal>host addresses. ...
    (Fedora)