LinuxQuestions.org
Review your favorite Linux distribution.
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 01-11-2016, 02:46 AM   #1
noob__
LQ Newbie
 
Registered: Apr 2014
Posts: 12

Rep: Reputation: Disabled
Local dns server


I'm trying to setup a local dns(for a dmz) in bind with view directives. I have one with match any and for match lan.

The problem is I have other zones in
/etc/bind/named.conf.default-zones like:

".", "localhost", "127.in-addr.arpa", "0.in-addr.arpa",
"255.in-addr.arpa"

That are not in any view and bind gives me the error:
when using 'view' all zones must be in view

Should I put these zones in view with match any or for lan?

Last edited by noob__; 01-11-2016 at 02:47 AM.
 
Old 01-12-2016, 02:52 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
That are not in any view and bind gives me the error:
when using 'view' all zones must be in view

Should I put these zones in view with match any or for lan?
Hi,

These zones are not mandatory, but if you want to keep them, then you should put them in the lan view, because they are local addresses (well, except the hint zone ".").
Re. the hint zone, it could be put in any of two views, or even in both, or you can omit it at all.

Regards
 
  


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
define how long will DNS cache stay in local DNS server gbcbooks Linux - Server 9 07-13-2015 01:44 AM
can a local DNS Server be used to handle dns requests going out to the internet baronobeefdip Linux - Server 1 07-03-2012 03:19 AM
[SOLVED] local only DNS server asnady Linux - Server 3 06-15-2010 03:39 AM
Redirect local DNS query to remote DNS server on non standard port? rock_ya_baby Linux - Server 8 04-13-2010 04:31 AM

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

All times are GMT -5. The time now is 05:08 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