# apt-get install bind9
Resolve Host Configuration:
File location:
# / etc / resolv.conf
(add / edit)
argo.org search
nameserver 10.28.0.1
Create a new configuration file:
# cp / etc / bind / db.local / etc / bind / db.argo
(instance name for the primary zone file)
BIND configuration data file:
File location:
# / etc / bind / db.argo
@ IN SOA argo. rootargo.org. (
2006012103; serial-no
28,800; refresh, seconds
7200; retry, seconds
604800; expire, seconds
86400); minimum-TTL, seconds
;
IN NS argo.org.
IN MX 10 NS1
NS1 IN A 10.28.0.1
10.28.0.1 IN PTR NS1
www IN CNAME NS1
mail IN CNAME NS1
smtp IN CNAME NS1
pop IN CNAME NS1
imap IN CNAME NS1
Configuring named.conf:
The need to add / edit (the position of this zone below zone “localhost” but blh also under another zone):
# vi / etc / bind / named.conf
zone “argo.org” (
type master;
file “/ etc / bind / db.argo”;
);
Restart the DNS Service:
# / etc/init.d/bind9 restart
After DNS is configured, install the following packages:
# apt-get install dnsutils
dnsutils a special package for mengtest DNS:
# nslookup www.argo.org
(domain name)
# dig www.argo.org
(domain name)
# host www.argo.org
(domain name)
About Me
Install and Configure DNS Server on Debian Woody
Diposkan oleh
blog anak tkj
Subscribe to:
Post Comments (Atom)







0 komentar:
Post a Comment