- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS server cannot start
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 02:09 AM
12-02-2004 02:09 AM
DNS server cannot start
I had installed BIND 9.2. I am a newbie. I do not know how to add A record and MX record as follow.
A dns1.mydomain.com 202.202.202.202
MX 10 server.mydomain.com 202.202.202.202
syslog.log have the error and DNS cannot start. I wonder that named.conf need to be created manually. :-(
Is there any simple to create this file ? I had read many document, but I cannot find a direct clear description on how to setup. Can anyone tell me how to set this A record and MX record ? DNS server cannot start due to this error.
Dec 2 22:51:29 server named[1191]: starting BIND 9.2.0
Dec 2 22:51:29 server named[1191]: using 1 CPU
Dec 2 22:51:29 server named[1191]: loading configuration from '/etc/named.conf'
Dec 2 22:51:29 server named[1191]: none:0: open: /etc/named.conf: file not found
Dec 2 22:51:29 server named[1191]: loading configuration: file not found
Dec 2 22:51:29 server named[1191]: exiting (due to fatal error)
ref:------------------------------------------
# Bundle(s):
#
BIND-920 B.11.00.01.003 BIND 9.2.0
HPUXEng32RT B.11.00.01 English HP-UX 32-bit Runtime Environment
Sendmail-811 B.11.00.01.005 Sendmail-8.11.1 special release upgrade
UXCoreMedia B.11.00.01 HP-UX Media Kit (Reference Only. See Description)
XSWGR1100 B.11.00.47.08 General Release Patches, November 1999 (ACE)
hpuxwsApache A.2.0.52.00 HP-UX Apache-based Web Server
hpuxwsTomcat A.4.1.29.04 HP-UX Tomcat-based Servlet Engine
hpuxwsWebmin A.1.070.02 HP-UX Webmin-based Admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 02:19 AM
12-02-2004 02:19 AM
Re: DNS server cannot start
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 02:58 AM
12-02-2004 02:58 AM
Re: DNS server cannot start
/etc/named.conf
this is main config file for Named it will not work without it.
read all that documents and if you have ?
ask :)
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/19-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/19-toc.html&searchterms=named.conf%7cDNS&queryid=20041202-085659
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 02:10 AM
12-03-2004 02:10 AM
Re: DNS server cannot start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 03:03 AM
12-03-2004 03:03 AM
Re: DNS server cannot start
"/etc/named.conf: file not found"
You have to create zones, etc...
See:
http://www.isc.org/index.pl?/sw/bind/
and the Admin Manual:
http://www.nominum.com/content/documents/bind9arm.pdf
Here's a fairly generic named.conf:
options {
directory "/etc/namedb";
forwarders {
X.X.X.1; X.X.X.2; // are internet DNS servers
};
forward only; // while in transition
};
logging {
channel all_channel {
file "/var/log/named/named.log" versions 5 size 5M; // keep 5 versions max 5 MB in size
print-category yes;
print-severity yes;
print-time yes;
};
channel update_channel {
file "/var/log/named/update.log" versions 5 size 5M; // keep 5 versions max 5 MB in size
severity info;
print-category yes;
print-severity yes;
print-time yes;
};
channel security_channel {
file "/var/log/named/security.log" versions 5 size 5M; // keep 5 versions max 5 MB in size
severity info; // setting this to warning stops logging all the "unapproved update from" messages
print-category yes;
print-severity yes;
print-time yes;
};
category queries { null; };
category update { update_channel; };
category security { security_channel; };
category default { all_channel; };
};
zone "." in {
type hint;
file "named.cache";
};
// here are our primary zones
zone "yourdomain.com" in {
type master;
file "yourdomain.com.zone";
};
notify yes;
};
// here are our reverse zones
zone "199.168.192.in-addr.arpa" in {
type master;
file "192.168.199.zone";
allow-update {
127.0.0.1; // localhost
X.X.X.X; // DNS master server
X.X.X.X; // DNS UNIX slave server
X.X.X.X; // DNS UNIX slave server
};
allow-transfer {
X.X/16;
127.0.0.1;
};
notify yes;
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "named.local";
allow-transfer {
X.X/16;
127.0.0.1;
};
};
Add your ip's for the X.X.X etc...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 03:02 PM
12-03-2004 03:02 PM
Re: DNS server cannot start
# ls -l
total 14
-rw-rw-rw- 1 root sys 153 Nov 30 21:31 boot.cacheonly
-rw-rw-rw- 1 root sys 500 Dec 2 22:21 db.127.0.0
-rw-rw-rw- 1 root sys 272 Nov 30 21:31 db.127.0.0.bak
-rw-rw-rw- 1 root sys 252 Nov 30 21:33 db.cache
-rw-rw-rw- 1 root sys 279 Dec 2 22:07 db.mydomain
# pwd
/etc/named.data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 06:21 PM
12-03-2004 06:21 PM
Re: DNS server cannot start
Thanks for all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2004 05:18 AM
12-04-2004 05:18 AM
Re: DNS server cannot start
Don't forget to assign points to those who have helped you.
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1207804&listType=unassigned&forumId=1
Thanks...Geoff