Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-02-2006, 11:12 PM   #1
Registered: Oct 2005
Location: Bangladesh
Posts: 484

Rep: Reputation: 30
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 . . . .
Old 09-03-2006, 01:31 AM   #2
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
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.
Old 09-03-2006, 04:16 AM   #3
Registered: Oct 2005
Location: Bangladesh
Posts: 484

Original Poster
Rep: Reputation: 30
Question 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 . ... ... ..
Old 09-03-2006, 04:47 AM   #4
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You can do that with iptables as well by allowing port 53 from certain IPs
Old 09-03-2006, 08:35 AM   #5
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
...or check out some of the following options that can be added to your named.conf file.
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...


dns, namedconf, options

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS registration on internal network acb67 Linux - Networking 4 03-02-2005 01:14 PM
DNS automatic join new network shadow11 Linux - Newbie 1 11-01-2004 12:36 PM
trouble with DNS/Network vr6stress Linux - Networking 2 07-08-2004 08:01 AM
Can't see DNS changes in the network TMX Linux - Networking 4 09-03-2003 03:34 PM
DNS For an internal network??? Milkman00 Linux - General 6 09-02-2002 03:38 PM

All times are GMT -5. The time now is 11:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration