Sponsored Content
Top Forums UNIX for Advanced & Expert Users Get an error while trying to start DNS server Post 302578410 by Srvesh on Thursday 1st of December 2011 11:59:14 AM
Old 12-01-2011
Question Get an error while trying to start DNS server

Hi Guys,

I am trying to configure DNS on ESX server.

Everything done but when I am trying to start the DNS, it gives me an error
Code:
[root@linux3 etc]# service named restart
Stopping named: [ OK ]
Starting named: 
Error in named configuration:
/etc/named.conf:42: when using 'view' statements, all zones must be in views
[FAILED]
[root@linux3 etc]#

Help me out please.

Thanks in advance

/Sirvesh Smilie
Moderator's Comments:
Mod Comment Please use code tags!

Last edited by vbe; 12-01-2011 at 01:06 PM.. Reason: please use code tags for your code / data next time, thanks
This User Gave Thanks to Srvesh For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

X-server fatal error,KDM refused to start

I was working with network configuration utility of linux first by netconfig command and then in GUI.It refused to take the new IP address I assigned and GUI utility raised an exception.aAfter that I tried to luanch the application for a couple of times but it was not starting.I rebooted. Now it... (1 Reply)
Discussion started by: callmedctr
1 Replies

2. UNIX for Advanced & Expert Users

DNS on DG-UX server

I'm trying to configure a DG-UX server to be a DNS client (connecting to a Novell DNS server). I've configured /etc/resolv.conf to reflect the settings for the DNS server, but I don't know what else to do to get the server to resolve DNS names. Any ideas? (2 Replies)
Discussion started by: soliberus
2 Replies

3. UNIX for Dummies Questions & Answers

setup a DNS server for my redhat server

Using Redhat Linux Enterprise AS 4 can someone teach me how to setup a dns server for my webserver? i've registered a domainname at mydomain.com but when i type in the domain i register i cannot enter to my webserver. someone told me that it is related with the DNS setting on my server. i've... (2 Replies)
Discussion started by: kaixiang88
2 Replies

4. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

5. Solaris

To Shut down the server. Do the Maintainance and Start Up the server

Hello All I just want to know how to Shut Down the Solaris Machines( Servers ) for Maintainance and then Start Up the Machines ( Servers ) . I think I will have to Log In as root to do that . Also how do i Check if all the services running on that server before shut down are running... (6 Replies)
Discussion started by: supercops
6 Replies

6. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

7. Red Hat

DNS Service not Start in RHEL 6.4 64 bit

Hi All, I am new to linux and i am configuring DNS server but while i restart service it shows below given error. Please help to solve this error. # /etc/init.d/named restart Stopping named: Generating /etc/rndc.key: ... (2 Replies)
Discussion started by: Chintanghanti
2 Replies

8. UNIX and Linux Applications

Is it mandatory or not to stop/start Applcation server ehen Restarting Database Server?

Good afternoon I need your help please. There is a Mantenance Windos which needs to Restart de Database Server 192.x.x.97 to set up some configuration Is it mandatory or not to stop/start Applcation server that runs in 192.x.x.95 ? Is it mandatory or not to stop/start apache and Tomcat?... (3 Replies)
Discussion started by: alexcol
3 Replies

9. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

10. UNIX for Beginners Questions & Answers

SunBlade 150 can't start openwin: /usr/openwin/bin/xinit: Server error.

Hi. I have a Microsystems SunBlade 150 shell# cat /etc/release Solaris 8 2/02 s28s_u7wos_08a SPARC shell# uname -a SunOS HOSTNAME 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Blade-100 shell# prtconf -F /pci@1f,0/SUNW,m64B@13:m640 When I join to the only account the server try to... (5 Replies)
Discussion started by: siegroup
5 Replies
named-checkconf(1M)					  System Administration Commands				       named-checkconf(1M)

NAME
named-checkconf - named configuration file syntax checking tool SYNOPSIS
named-checkconf [-v] [-t directory] filename DESCRIPTION
The named-checkconf utility checks the syntax, but not the semantics, of a named configuration file. OPTIONS
The following options are supported: -t directory Change the root directory to directory so that include directives in the configuration file are processed as if run by a named configuration whose root directory has been similarly changed. -v Print the version of the named-checkconf program and exit. OPERANDS
The following operands are supported: filename The name of the configuration file to be checked. If not specified, it defaults to /etc/named.conf. EXIT STATUS
0 No errors were detected. 1 An error was detected. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |Availability |SUNWbind9 | |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
named(1M), named.conf(4), attributes(5) BIND 9 Administrator Reference Manual NOTES
Source for BIND9 is available in the SUNWbind9S package. SunOS 5.10 15 Dec 2004 named-checkconf(1M)
All times are GMT -4. The time now is 07:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy