Sponsored Content
Operating Systems Linux Red Hat Dns configuration error in Redhat Post 302347202 by sahu.tapan on Tuesday 25th of August 2009 06:15:29 AM
Old 08-25-2009
Dns configuration error in Redhat

Dear All I want to configure DNS in redhat linux. i am following these steps but when i restart the services it is showing status failed. Please any body can help me on urgent basis.

#service named restart

Stopping named: [FAILED]
Starting named: [FAILED]


---------Edited in named.conf file---------------------

options {
listen-on port 53 { nms.example.com; 10.13.74.162; 127.0.0.1; };
directory "/var/named";
query-source port 53;
allow-query { nms.example.com; 10.13.0.0/24; };
forwarders { 10.11.8.14; };
forward only;
};

zone "example.com" IN {
type master; file "example.com.zone";
allow-update { none; };
forwarders { 10.11.8.14; };
};


zone"74.13.10.in-addr.arpa" IN {
type master; file "10.13.74.zone";
allow-update { none; };
forwarders { };
};


---After that----

#cd /var/named/chroot/var/named
#vi example.com.zone

Quote:
$TTL 86400 @ IN SOA nms.example.com. root.nms.example.com. (
2001101100 ; serial (d. adams)
28800 ; refresh
14400 ; retry
3600000 ; expiry
0 ) ; minimum
IN NS nms.example.com.
IN A 10.13.74.162 example.com.
IN A 10.13.74.162 nms.example.com.
IN A 10.13.74.162
www IN A 10.13.74.162
www1 IN CNAME nms.example.com.
www2 IN CNAME nms.example.com.
www3 IN CNAME nms.example.com.
@ IN MX 10 nms.example.com.
nms IN MX 10 nms.example.com.

-------------configuration of 10.13.74.162.zone file--------------------


#vi 10.13.74.162.zone

[quote]
$TTL 86400 @ IN SOA nms.example.com. root.nms.example.com. ( 4 10800 3600 604800 86400 )
IN NS nms.example.com.
162.74.13.10.in-addr.arpa.
IN PTR nms.example.com.


After configuring i restart the service. as i have see the log messages looking like this.

#cd /var/log/ #vi messages

Quote:
Aug 25 21:08:47 nms named[4959]: loading configuration from '/etc/named.conf'
Aug 25 21:08:47 nms named[4959]: /etc/named.conf:15: undefined ACL 'nms.example.com' \
Aug 25 21:08:47 nms named[4959]: not listening on any interfaces
Aug 25 21:08:47 nms named[4959]: /etc/named.conf:19: undefined ACL 'nms.example.com'
Aug 25 21:08:47 nms named[4959]: loading configuration: not found
Aug 25 21:08:47 nms named[4959]: exiting (due to fatal error)

PLease help me..... Thanks in Advance tapan

Last edited by sahu.tapan; 08-25-2009 at 07:25 AM..
 

9 More Discussions You Might Find Interesting

1. IP Networking

DNS configuration problem

Hi all, I am a beginner in DNS service and I face difficult when configure DNS sub domain using "bind" version 8. So I would like to ask a question about this and hope someone can answer my question. Is it possible to configure a sub domain in which the name of this sub domain is same as a... (2 Replies)
Discussion started by: raylai
2 Replies

2. IP Networking

proxy DNS configuration

i have the DNS and the web proxy services running on one of my sun machines....the funny thing is clients use the proxy server by addressing it with its IP address only....what i need is to assign it like...proxy.amu.edu.et...... my guess is the problem is the configuration with the DNS ...but i... (2 Replies)
Discussion started by: henokia4j
2 Replies

3. UNIX for Dummies Questions & Answers

Redhat DNS Entry

I have a installed Redhat Linux v5 on a new HP Pavillon PC. It has a dual boot with Vista. Booting from Vista, I can connect to the internet. However with Redhat I cannot connect to the internet. I looked at the /etc/resolv.conf file in Redhat and there is no DNS entry there. From where do I... (28 Replies)
Discussion started by: AnilAnand
28 Replies

4. AIX

DNS configuration help

I'm trying to configure DNS on a AIX 5.4 machine and I just can't figure it out. The IBM guide doesn't work. Smit also doesn't work. I have no idea how to make this happen. (2 Replies)
Discussion started by: madavid0
2 Replies

5. UNIX for Dummies Questions & Answers

DNS Configuration in Solaris 10

Hi All, I have a list of few DNS server with hostnmae and IP which I need to setup in Solaris Servers...Can any one pls tell me the steps for setting up the above in solaris 10 & 9???? (4 Replies)
Discussion started by: solaris5.10
4 Replies

6. Red Hat

DNS for linux RedHat

Dear members, I am trying to set up a simple DNS but the problem is that when I ping the name of the IP address in the Reverse file, it does not recognise it. My code are as follows: Note that my IP address is 172.22.45.237. In my /etc/named.conf file, I have added the following lines ... (10 Replies)
Discussion started by: shakshakshuk
10 Replies

7. AIX

DNS configuration on AIX 6.1

Hello All, I want to install ORACLE RAC on AIX 6.1. In the installation guide. the below two points were mentioned: Each node must have at least two network adapters or network interface cards (NICs): one for the public network interface, and one for the private network interface (the... (2 Replies)
Discussion started by: beayni33
2 Replies

8. UNIX for Dummies Questions & Answers

DNS mail server configuration

Hello fellow unix dudes, I have a question on DNS. Basically the error is my domain.com server can not send email to my mail.domain.com server. I have a virtual server with one IP say 192.10.11.12 and a mail server with iP 172.4.5.6 When the virutal server on ip 192.10.11.12 was setup,... (0 Replies)
Discussion started by: photon
0 Replies

9. Red Hat

DNS issue in Redhat 9

Hi all m newbie in linux and trying to setup my internal DNS server for local network.After messing with DNS for hours i am posting this. i have configured /etc/resolve.conf, hostname with domain name in /etc/sysconfig/network file,/etc/hosts file with local host entry and zone file... (1 Reply)
Discussion started by: Vaibhav.T
1 Replies
MBSRTOWCS(3)						   BSD Library Functions Manual 					      MBSRTOWCS(3)

NAME
mbsnrtowcs, mbsnrtowcs_l, mbsrtowcs, mbsrtowcs_l -- convert a character string to a wide-character string (restartable) LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <wchar.h> size_t mbsnrtowcs(wchar_t *restrict dst, const char **restrict src, size_t nms, size_t len, mbstate_t *restrict ps); size_t mbsrtowcs(wchar_t *restrict dst, const char **restrict src, size_t len, mbstate_t *restrict ps); #include <wchar.h> #include <xlocale.h> size_t mbsrtowcs_l(wchar_t *restrict dst, const char **restrict src, size_t len, mbstate_t *restrict ps, locale_t loc); size_t mbsnrtowcs_l(wchar_t *restrict dst, const char **restrict src, size_t nms, size_t len, mbstate_t *restrict ps, locale_t loc); DESCRIPTION
The mbsrtowcs() function converts a sequence of multibyte characters, pointed to indirectly by src, into a sequence of corresponding wide characters. It stores at most len of them in the wchar_t array pointed to by dst, until it encounters a terminating null character (''). If dst is NULL, no characters are stored. If dst is not NULL, the pointer pointed to by src is updated to point to the character after the one that conversion stopped at. If conver- sion stops because a null character is encountered, *src is set to NULL. The mbstate_t argument, ps, is used to keep track of the shift state. If it is NULL, mbsrtowcs() uses an internal, static mbstate_t object, which is initialized to the initial conversion state at program startup. The mbsnrtowcs() function behaves identically to mbsrtowcs(), except that conversion stops after reading at most nms bytes from the buffer pointed to by src. While the mbsrtowcs() and mbsnrtowcs() functions use the current locale, the mbsrtowcs_l() and mbsnrtowcs_l() functions may be passed locales directly. See xlocale(3) for more information. RETURN VALUES
The mbsrtowcs() and mbsnrtowcs() functions return the number of wide characters stored in the array pointed to by dst if successful, other- wise it returns (size_t)-1. ERRORS
The mbsrtowcs() and mbsnrtowcs() functions will fail if: [EILSEQ] An invalid multibyte character sequence was encountered. [EINVAL] The conversion state is invalid. SEE ALSO
mbrtowc(3), mbstowcs(3), multibyte(3), wcsrtombs(3), xlocale(3) STANDARDS
The mbsrtowcs() function conforms to ISO/IEC 9899:1999 (``ISO C99''). The mbsnrtowcs() function is an extension to the standard. BSD
July 21, 2004 BSD
All times are GMT -4. The time now is 06:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy