Manu Abraham wrote:
>Manu Abraham wrote:
>
>
>
>>John Joseph wrote:
>>
>>
>>
>>
>>
>>>""
>>>rfs-01 A 192.168.1.230
>>>rfs-02 A 192.168.1.231
>>>""
>>>
>>>Thanks manu , want some more explanation on how the
>>>client machine resolve , on the above example ,
>>>
>>>
>>>
>>>
>>>
>>>
>>With dynamic updates turned on with DHCP, i just enable all machines as
>>to be configured with DHCP. Gateways, Nameservers everything ..
>>No configuration on the clients.
>>
>>
>>
>>
>
>Okay if you need the config .. This is a skeleton config, just fill in
>the blanks for /etc/dhcpd.conf
>
>
>Manu
>
>
>ddns-update-style interim;
>server-name "hostname+fully-qualified-domain-name"; #put your FQDN
>option domain-name-servers fully-qualified-domain-name;
>option domain-name "network-name"; # put your Network name here
>option broadcast-address xxx.xxx.xxx.xxx; # put your broadcast address
>option subnet-mask xxx.xxx.xxx.xxx; # put your subnet mask here
>option routers xxx.xxx.xxx.xxx; # put the IP addressses of your routers here
>ignore client-updates;
>use-host-decl-names on;
>
># put your subnet and netmask here
>subnet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx {
> ddns-rev-domainname "xxx.xxx.xxx"; # put your reverse domain
>name(I use IP address here)
> ddns-updates on;
> ddns-domainname "network-name"; # put your network name here
> range xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx; # define your IP address
>pool range for dynamic clients
># deny unknown-clients; # i need all machines plugged into the
>n/w to be identified,
> allow unknown-clients; #else uncomment this one and comment the
>other
> authoritative;
>}
>
>
># you can use the rest of the stuff to be similar or in any other
>fashion you need
>host dbsrv{
> fixed-address 192.168.1.252;
>}
>
>
># i don't want this machine to be spoofed by anybody (so i have it's MAC
>address)
>host bh {
> hardware ethernet 00:09:6B:A5:A2:28;
> fixed-address 192.168.1.250;
> option host-name "bh";
>}
>
>
>
>
Forgot to mention about named.conf.
something that i use .. for dynamic updates.. For me, the named and the
dhcpd daemons are on one single machine and dhcpd updates the named
journal. You can substitute whatever is appropriate for you ..
controls {
inet 127.0.0.1 allow { localhost; 192.168.1.254; };
inet 192.168.1.254 allow {localhost; 192.168.1.254; };
};
zone "auh.itecno.com" {
type master;
file "/var/named/auh.itecno.com.hosts";
allow-update { 127.0.0.1; 192.168.1.254; };
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/var/named/1.168.192.reverse";
allow-update { 127.0.0.1; 192.168.1.254; };
};
Manu
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/0XFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/dubailug/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/