debian6 |
Install DNS via Bind9 package with command # apt-get install bind9
If the install process is done do the command # cd / etc / bind
Copy db.local to bind #cp /etc/bind/db.local / var / cache / bind / ikmi.ac.id.db
install-dns1 |
install-dns2 |
(write ikmi.ac.id) > A (all). then change and addkn @ below to:
@ IN NS ikmi.ac.id.
@ IN A 192.168.1.1
@ IN AAAA :: 1
www IN A 192.168.1.1Copy also to rev #cp /etc/bind/db.local /var/cache/bind/ikmi.ac.id.rev
Then edit also the contents #nano / var / cache / bind / ikmi.ac.id.rev
install-dns3 |
(write ikmi.ac.id) > A (all). then change and addkn @ below to:
@ IN NS ikmi.ac.id.
IN PTR www. ikmi.ac.id.Then do Restart # /etc/init.d/bind9 restart
Configure with the command #nano /etc/bind/named.conf.local Change and fill it as below:
install-dns4 |
nameserver5 |
Check first and add nameservers to the repository by doing #nano / etc / network /
interfaces (add nameserver 192.168.1.1)
# / etc / init.d / networking restart (restart)
restart6 |
editing do this command: # cd / etc / apache2 / sites- available
Then the default copy to ikmi.ac.id #cp default ikmi.ac.id
cpdefault7 |
htmlconten8 |
And pendisablelan on default with the default # a2dissite command
#nano ikmi.ac.id change (/ var / www / to / etc / apache2 / sites-available)
apachesite9 |
Ip settings in client add ip server in DNS server
ipclient10 |
testingpage11 |
Don't forget to share this article........
No comments:
Post a Comment