LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-31-2015, 01:44 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post What is "Internal" and "External" parts in DNS configuration?


Hello.
Can anyone tell me what is "Internal" and "External" parts in "named.conf" file?

For example "http://www.server-world.info/en/note?os=CentOS_7&p=dns"

Thank you.
 
Old 08-31-2015, 02:40 AM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
BIND lets you run multiple "views" of data depending on the end user of the data.

For example you have a medium/large sized company with it's own single data center which hosts all of their servers including their external facing website and DNS servers.

In that example you would split the DNS data into two different views to stop hackers trying to gain information about the internal network structure by probing the DNS server for random records.

It might also be done because the company uses RFC1918 addresses for internal users and has a limited number of public IP addresses showing to the outside world. Allowing DNS lookups to return RFC1918 addresses over the Internet is a bad idea so you only show the public addresses and ignore the rest for external users.

You don't need to use views but it is another way you can run your DNS server if it suits your particular situation.
 
Old 08-31-2015, 03:03 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
I just want to configure a DNS for local network. Must I define "Internal" Or "External" ?
 
Old 08-31-2015, 06:29 AM   #4
Elizine
Member
 
Registered: Aug 2015
Posts: 54
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by hack3rcon View Post
I just want to configure a DNS for local network. Must I define "Internal" Or "External" ?
Hi,

You will need to define internal and external name servers for configuring a DNS for local network. Here's a guide on what is DNS and it's configuration - http://forums.bodhost.com/archive/index.php/t-388.html
 
Old 08-31-2015, 07:05 AM   #5
linom
Member
 
Registered: May 2015
Location: India
Distribution: Debian, CentOS,Redhat, Fedora, Ubuntu
Posts: 91

Rep: Reputation: 13
Quote:
Originally Posted by hack3rcon View Post
I just want to configure a DNS for local network. Must I define "Internal" Or "External" ?
Then in your case, in one of the conf (named.conf) add the below setting
Quote:
listen-on { [IP1]; [IP2]; }
Quote:
[IP1], [IP2],....[IPn] - list the local interface ip address on which dns query can be done.
 
Old 08-31-2015, 07:55 AM   #6
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
In some tutorials never defined "Internal" and "External" parts for internal DNS server. I guess these parts are for Web servers!!!!
 
Old 08-31-2015, 08:34 AM   #7
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Most tutorials for BIND are not designed for the complicated configurations that use internal/external views.

And if your after a basic DNS resolver then you do not need any view configuration at all.
 
Old 08-31-2015, 08:35 AM   #8
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by Elizine View Post
Hi,

You will need to define internal and external name servers for configuring a DNS for local network. Here's a guide on what is DNS and it's configuration - http://forums.bodhost.com/archive/index.php/t-388.html
Your post shows you do not even know about the view feature in BIND as your talking about something completely unrelated.
 
Old 08-31-2015, 10:36 AM   #9
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
I just want to a DNS server for internal network, Something like Windows DNS server for a local network. I want to know for my goal, Must I define Internal and External?
 
Old 08-31-2015, 06:41 PM   #10
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by hack3rcon View Post
I just want to a DNS server for internal network, Something like Windows DNS server for a local network. I want to know for my goal, Must I define Internal and External?
No.
 
1 members found this post helpful.
Old 09-01-2015, 02:00 AM   #11
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Thank you a lot.
 
  


Reply



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
[SOLVED] X: "loading extension glx" "no screens found" "fatal server error" (w/ nvidia driver) Geremia Slackware 7 12-29-2014 11:00 AM
[SOLVED] "net rpc" "failed to connect to ipc$ share on" or "unable to find a suitable server" larieu Linux - General 0 11-09-2014 12:45 AM
unpredictable "delete" "move to trash" or "cut" file menu option dorianrenato Linux - General 3 11-28-2011 06:41 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:52 AM.

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