LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-01-2019, 10:04 PM   #1
adan6789
LQ Newbie
 
Registered: Mar 2019
Posts: 1

Rep: Reputation: Disabled
named-checkconf (unknown option)


I don't understand what is the reason about these mistakes, the first of them is about the secondary DNS and the another two are the default text. Help, it's my first server configuration, and I can't continue from here.


Code:

root@asus:/etc/bind# named-checkconf
/etc/bind/named.conf.options:14: unknown option '8.8.8.8'
/etc/bind/named.conf.options:21: unknown option 'dnssec-validation'
/etc/bind/named.conf.options:23: unknown option 'listen-on-v6'
root@asus:/etc/bind#


named.conf.options (code):

options {
directory "/var/cache/bind";

//If there is a firewall between you and nameservers you want
//to talk to, you may need to fix the firewall to allow multiple
//ports to talk. See http://www.kb.cert.org/vuls/id/800113

//If your ISP provided one or more IP addresses for stable
//nameservers, you probably want to use them as forwaders.
//Uncomment the following block, and insert the addresses replacing
//the all-0's placeholder.

//forwaders {
8.8.8.8;
};

//(==============================================================
//If BIND logs error messages about the root key being expired,
//you will need to update your keys. See https://www.isc.org/...
//===============================================================
dnssec-validation auto;

listen-on-v6 { any; };
};
 
Old 03-02-2019, 03:53 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,172
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Quote:
Originally Posted by adan6789 View Post
I don't understand what is the reason about these mistakes, the first of them is about the secondary DNS and the another two are the default text. Help, it's my first server configuration, and I can't continue from here.


Code:

root@asus:/etc/bind# named-checkconf
/etc/bind/named.conf.options:14: unknown option '8.8.8.8'
/etc/bind/named.conf.options:21: unknown option 'dnssec-validation'
/etc/bind/named.conf.options:23: unknown option 'listen-on-v6'
root@asus:/etc/bind#


named.conf.options (code):

options {
directory "/var/cache/bind";

//If there is a firewall between you and nameservers you want
//to talk to, you may need to fix the firewall to allow multiple
//ports to talk. See http://www.kb.cert.org/vuls/id/800113

//If your ISP provided one or more IP addresses for stable
//nameservers, you probably want to use them as forwaders.
//Uncomment the following block, and insert the addresses replacing
//the all-0's placeholder.

//forwaders {
8.8.8.8;
};

//(==============================================================
//If BIND logs error messages about the root key being expired,
//you will need to update your keys. See https://www.isc.org/...
//===============================================================
dnssec-validation auto;

listen-on-v6 { any; };
};
You should comment out the other 2 lines too, if you don't want forwaders:
Code:
//forwaders {
//          8.8.8.8;
//};
Cheers
 
  


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] unknown option 'zone' error when running the command "sudo named-checkconf" linux csit432 Linux - Newbie 2 03-15-2018 05:41 PM
[SOLVED] error at named-checkconf -z windstory Linux - Newbie 12 04-06-2012 10:32 AM
named-checkconf has errors, but Starting named: FAILED windstory Linux - Newbie 13 12-01-2011 11:54 PM
[SOLVED] named-checkconf has errors windstory Linux - Newbie 10 11-29-2011 03:42 AM

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

All times are GMT -5. The time now is 07:53 PM.

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