DNS Closed Relay

Posted on Updated on


Agar DNS kita tidak dinyatakan sebagai Open Relay maka perlu kita tambahkan pada setting /etc/named.conf pada bagian options nya.

allow-query { 127.0.0.1; 192.168.10.0/24; 202.xxx.xxx.xxx/28; localhost;};
allow-recursion { 127.0.0.1; 192.168.10.0/24; 202.xxx.xxx.xxx/28; localhost;};

Jadi yang boleh mengquery atau memakai DNS kita adalah Localhost, ip network LAN 192.168.10.0/24, dan ip 202.xxx.xxx.xxx/28. Selain IP yang di deklarasikan diatas maka akan di denied.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s