- Beranda
- Linux dan OS Selain Microsoft & Mac
[ASK] DNS [Domain Name System] Server On Debian
...
TS
dropstore
[ASK] DNS [Domain Name System] Server On Debian
SOLVED
Saya memakai debian 6 32 bit
domain : tipshamilcepat.com
IP : 184.154.76.200
saya sudah mencoba beberapa guide setting DNS di debian dari beberapa sumber, dan guide yang mendekati benar adalah dari blog kukukakikukakukaku.com.
Hasil cek intodns:
http://www.intodns.com/tipshamilcepat.com
cek dari intodns, masih ada problem "missing nameserver"dan "MX record"
cara fix kan???
--------------------------------------------------------------------------------------------------
Hasil check nslookup
Code:
root@mail:~# nslookup [url=http://www.tipshamilcepat.com]www.tipshamilcepat.com[/url]
Server: 184.154.76.200
Address: 184.154.76.200#53
Name: [url=http://www.tipshamilcepat.com]www.tipshamilcepat.com[/url]
Address: 184.154.76.200
root@mail:~# nslookup 184.154.76.200
Server: 184.154.76.200
Address: 184.154.76.200#53
200.76.154.184.in-addr.arpa name = [url=http://www.tipshamilcepat.com.]www.tipshamilcepat.com.[/url]
200.76.154.184.in-addr.arpa name = mail.tipshamilcepat.com.76.154.184.in-addr.arpa.
----------------------------------------------------------------------------------------
GUIDE:
Code:
# apt-get install bind9
Code:
# cd /etc/bind/
# cp db.127 /var/cache/bind/db.200
# cp db.local /var/cache/bind/db.banksonk
kemudian edit file named.conf.local, dan tambahkan baris seperti berikut :
Code:
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "tipshamilcepat.com" {
type master;
file "/var/cache/bind/db.banksonk";
};
zone "76.154.184.in-addr.arpa"{
type master;
file "/var/cache/bind/db.200";
};
Code:
# cd /var/cache/bind/
# nano db.200
Code:
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA [url=http://www.tipshamilcepat.com.]www.tipshamilcepat.com.[/url] root.tipshamilcepat.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
200 IN PTR [url=http://www.tipshamilcepat.com.]www.tipshamilcepat.com.[/url]
200 IN PTR mail.tipshamilcepat.com
Code:
# nano db.banksonk
Code:
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA [url=http://www.tipshamilcepat.com.]www.tipshamilcepat.com.[/url] root.tipshamilcepat.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
@ IN A 184.154.76.200
www IN A 184.154.76.200
mail IN A 184.154.76.200
Code:
# nano /etc/resolv.conf
search tipshamilcepat.com
nameserver 184.154.76.200
nameserver 184.154.76.200
Code:
# /etc/init.d/bind9 restart
Diubah oleh dropstore 04-12-2012 01:50
0
952
2
Guest
Tulis komentar menarik atau mention replykgpt untuk ngobrol seru
Mari bergabung, dapatkan informasi dan teman baru!
Linux dan OS Selain Microsoft & Mac
4.4KThread•2KAnggota
Terlama
Guest
Tulis komentar menarik atau mention replykgpt untuk ngobrol seru