LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Use DNS IP from outside of my network (https://www.linuxquestions.org/questions/linux-networking-3/use-dns-ip-from-outside-of-my-network-479909/)

shipon_97 09-02-2006 11:12 PM

Use DNS IP from outside of my network
 
Is it possible to use my DNS IP from outside of my network ? i.e. , I want to know can anybody outside my network use my DNS IP ?
If yes then how can I restrict this ?

Plz reply . . . .

w3bd3vil 09-03-2006 01:31 AM

did you mean to say you dont wont others accessing your DNS server from outside your network?
If so, use iptables and block port 53 for any incoming connection apart from your lan.

shipon_97 09-03-2006 04:16 AM

Use DNS IP from outside of my network
 
Dear w3bd3vil ,

Thx for ur Reply . When I block my 53 port then outside world cannot find or use my DNS . It's OK But

If I want that some outside network are restricted to use my DNS and some outside network are permitted then what will I do ? Is there any configuration regarding this issue in DNS configuration file ?

Waiting for ur reply . ... ... ..

billymayday 09-03-2006 04:47 AM

You can do that with iptables as well by allowing port 53 from certain IPs

scowles 09-03-2006 08:35 AM

...or check out some of the following options that can be added to your named.conf file.
Code:

match-clients
allow-query
blackhole

NOTE: When reading the man page on the above options, make sure you understand in which context the above options can be used. i.e. global, view, zone, etc...


All times are GMT -5. The time now is 04:54 AM.