Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-30-2010, 01:50 AM
|
#1
|
LQ Newbie
Registered: Nov 2010
Posts: 1
Rep:
|
service named.conf error .so plz
hai to all my problem is ,
iam using centOS in vmware , when i configuration dns server by time , named.conf file edit & add
#line 15 port 53 {192.168.224.1; };
#line 23 allow-query { localhost; 192.168.224.0/24; };
#line 32 match-clients { localhost; 192.168.224.0/24; };
then , service named start by time iam getting error like
/etc/named.conf:15: '} expected near '{
|
|
|
11-30-2010, 08:47 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,488
|
Quote:
Originally Posted by gopigandikota
hai to all my problem is ,
iam using centOS in vmware , when i configuration dns server by time , named.conf file edit & add
#line 15 port 53 {192.168.224.1; };
#line 23 allow-query { localhost; 192.168.224.0/24; };
#line 32 match-clients { localhost; 192.168.224.0/24; };
then , service named start by time iam getting error like
/etc/named.conf:15: '} expected near '{
|
Ok...you've got an error on line 15, as the message says. Did you try putting a space between the { and the address? Did you look at the previous line in the file, to make sure it's got no syntax errors?
|
|
|
11-30-2010, 08:56 AM
|
#3
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,220
|
Hi,
The correct syntax is
Code:
listen-on port 53 {192.168.224.1; };
Regards
|
|
|
All times are GMT -5. The time now is 11:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|