Hi Dude,
Say something.com is your domain name and ftp.something.com is a host having a statc ip.
This is what you need to do
edit /etc/named/named.conf to add the zone for something.com
<code>
zone "something.com" {
type master;
notify no;
allow-query { any; };
file "something.zone";
};
</code>
Now Place the record in the file named something.zone in /var/named (the location of files may depend on the distro too)
You can just use the find command to locate them.
A sample something.zone file :
<code>
; Zone file for something.com
@ IN SOA ns0.something.com. hostmaster.something.com. (
200211152 ; serial#
3600 ; refresh, seconds
3600 ; retry, seconds
3600 ; expire, seconds
3600 ) ; minimum, seconds
;
NS www ; Inet Address of nameserver
localhost A 127.0.0.1
ftp A aaa.bbb.ccc.ddd
</code>
Give a restart to the named and just check the logs to make sure that named starts without any eroors.
This is all you would need to do.
.... Nitin Batta ....
http://nitinb.blogspot.com
__________________
If this helped you, please take the time to rate the value of this post by clicking the affero button