BIND: Reverse DNS

From OnnoWiki
Revision as of 05:43, 1 December 2018 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Konfigurasi

Contoh untuk

216.74.109/24

Tambahakan di /etc/named.conf

zone “109.74.216.in-addr.arpa” {
  type master;
  file “/var/named/109.74.216.in-addr.arpa”
};

Tambah:

/var/named/109.74.216.in-addr.arpa

Isi:

$TTL 86400
@ IN SOA localhost. root.localhost. (
  991079290 ; serial
  28800 ; refresh
  14400 ; retry
  3600000 ; expire
  86400 ; default_ttl
  )
IN NS dns.trouble-free.net.
IN NS dns2.trouble-free.net.
81 IN PTR my.reverse.dns.domain.com.

Save & Restart

/etc/rc.d/init.d/named restart

Client

dig NS 81.109.74.216.in-addr.arpa
dig PTR 81.109.74.216.in-addr.arpa


Pranala Menarik