Operating System - HP-UX
1830845 Members
2598 Online
110017 Solutions
New Discussion

Cannot create a DNS Master

 
Phillip Corbin
Occasional Advisor

Cannot create a DNS Master

When trying to enable my server as a MASTER the system deletes my /etc/named.conf and the server never starts up. Any suggestions?
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: Cannot create a DNS Master


What version of BIND are you using?

What version of HP-ux are you using?

Can you post your named.conf file?

How are your zones defined? Did you use hosts_to_named?

live free or die
harry
Live Free or Die
Phillip Corbin
Occasional Advisor

Re: Cannot create a DNS Master

$ what ./named
./named:
Copyright (c) 1986, 1989, 1990 The Regents of the University of California.
named 8.1.2 Thu Feb 15 05:53:45 GMT 2001 PHNE_23275
$
$ uname -r
B.11.11
$

===========================================
named.conf
===========================================
options {
directory "/etc/named.data"; // running directory for named
// query-source address * port 53;
};

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "db.127.0.0";
};

zone "." {
type hint;
file "db.cache";
};
harry d brown jr
Honored Contributor

Re: Cannot create a DNS Master

I'd suggest that you upgrade to 9.2 of BIND.

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=BIND9.2

It does NOT require a reboot.

live free or die
harry
Live Free or Die
Dan Martin_1
Frequent Advisor

Re: Cannot create a DNS Master

Are you starting using /sbin/init.d/named? Is there some legacy code in that file that is removing /etc/named.conf?

Dan
Rgomes
Valued Contributor

Re: Cannot create a DNS Master

Hi,

Can you create your master DNS server again through SAM, sometimes SAM works better than /usr/sbin/hosts_to_named. Before doing it, move your current named.conf and zone ( /etc/named.data/*) files some where else.

Is there any syslog message?

regards,
Richard