LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2019, 07:19 PM   #1
etpoole60
Member
 
Registered: Jan 2008
Posts: 111

Rep: Reputation: 0
named.conf error


OK I followed Stephen R Lang - DNS setup with bind on CentOS 7 - I applied mods for my environment, but I getting the following error:
[root@jpdsys1 dynamic]# named-checkconf
/etc/named.conf:15: missing ';' before '/'
/etc/named.conf:15: expected IP match list element near '/'
But I can't find the problem.

Any ideas?
Gene
 
Old 10-03-2019, 07:31 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by etpoole60 View Post
OK I followed Stephen R Lang - DNS setup with bind on CentOS 7 - I applied mods for my environment, but I getting the following error:
[root@jpdsys1 dynamic]# named-checkconf
/etc/named.conf:15: missing ';' before '/'
/etc/named.conf:15: expected IP match list element near '/'
But I can't find the problem.

Any ideas?
Gene
That seems pretty clear...there's a syntax problem, maybe on line 15, maybe earlier. Be easier to help if you posted the contents of /etc/named.conf
 
Old 10-03-2019, 08:25 PM   #3
etpoole60
Member
 
Registered: Jan 2008
Posts: 111

Original Poster
Rep: Reputation: 0
OK, I found the error - my bad eyes didn't see the difference a ( ) pair and { } pair.

TIA
Gene
 
Old 10-03-2019, 10:00 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by etpoole60 View Post
OK, I found the error - my bad eyes didn't see the difference a ( ) pair and { } pair.

TIA
Gene
Cool! If you want, you can mark this thread SOLVED with the Thread Tools at the top of the page.

(I get it. I run my editor zoomed in for just that reason.)
 
  


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
adding a zone in named.conf in centos 5.2 /etc/named.conf coolhunkank Linux - Newbie 2 05-14-2009 08:45 AM
(bind) named: couldn't open pid file '/var/run/named/named.pid' - any help? samengr Linux - Server 6 04-01-2009 06:22 AM
file /var/lib/named/var/named/reverse/named.zero failed: file not found Toadman Linux - Software 15 03-18-2009 07:01 PM
chown -R named:named /var/named crash the system? joangopan Fedora 2 09-09-2007 02:46 AM
named.conf and named.caching-server.conf ? Ronin_tekorei Linux - Server 4 05-03-2007 07:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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