Difference between revisions of "BIND: Reverse DNS"

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
For this example we are using the IP block 216.74.109/24
+
==Konfigurasi==
  
In /etc/named.conf add:
+
Contoh untuk
 +
 
 +
216.74.109/24
 +
 
 +
Tambahakan di /etc/named.conf
  
 
  zone “109.74.216.in-addr.arpa” {
 
  zone “109.74.216.in-addr.arpa” {
Line 8: Line 12:
 
  };
 
  };
  
Create the following file:
+
Tambah:
  
 
  /var/named/109.74.216.in-addr.arpa
 
  /var/named/109.74.216.in-addr.arpa
  
Inside this file use the following example configuration:
+
Isi:
  
 
  $TTL 86400
 
  $TTL 86400
Line 26: Line 30:
 
  81 IN PTR my.reverse.dns.domain.com.
 
  81 IN PTR my.reverse.dns.domain.com.
  
Save your changes, then restart named using /etc/rc.d/init.d/named restart
+
Save & Restart
 +
 
 +
/etc/rc.d/init.d/named restart
 +
 
 +
==Client==
  
A lookup of 216.74.109.81 would show my.reverse.dns.domain.com
 
  
 +
dig NS 81.109.74.216.in-addr.arpa
 +
dig PTR 81.109.74.216.in-addr.arpa
  
  
 +
==Administrasi ke APNIC / IDNIC==
  
==Client==
+
Dokumentasi administrasinya bisa baca di
 +
 
 +
https://www.apnic.net/manage-ip/manage-resources/reverse-dns/
 +
 
 +
Butuh ngisi form, butuh info,
 +
 
 +
* IP prefix
 +
* IP NS
 +
* Maintainer object (Kode Orang-nya di APNIC)
 +
 
 +
 
 +
Email apnic utk urusan ini adalah
  
  dig ptr 10.34.239.216.in-addr.arpa
+
  helpdesk@apnic.net
  
  

Latest revision as of 05:59, 1 December 2018

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


Administrasi ke APNIC / IDNIC

Dokumentasi administrasinya bisa baca di

https://www.apnic.net/manage-ip/manage-resources/reverse-dns/

Butuh ngisi form, butuh info,

  • IP prefix
  • IP NS
  • Maintainer object (Kode Orang-nya di APNIC)


Email apnic utk urusan ini adalah

helpdesk@apnic.net


Pranala Menarik