Check your /etc/nsswitch.conf file. You want the line for hosts to be:
dns files
Also be sure named is running. While it says it is starting do a:
ps -ax|grep name
-Derek
At 04:53 PM 7/24/2006, David Stanford wrote:
On 7/24/06, Matthias Fechner <[EMAIL PROTECTED]> wrote:
Hi David,
David Stanford wrote:
> Now it appears to be working correctly and responding to queries,
however
> I'm noticing I continue to get that same error when I add my CNAME
entry:
> =====
> @ IN CNAME www.example.org.
> =====
write:
www IN CNAME example.org.
Best regards,
Matthias
I've tried everyone's suggestions to no avail. Here's my actual
configuration:
[EMAIL PROTECTED] ~]# /etc/rc.d/named stop
Stopping named.
[EMAIL PROTECTED] ~]# tail -12 /etc/namedb/named.conf
zone "daemonbox.net" {
type master;
file "master/daemonbox.net";
};
/*
zone "140.246.66.in-addr.arpa" {
type master;
file "master/140.246.66.in-addr.arpa";
};
*/
[EMAIL PROTECTED] ~]# cat /etc/namedb/master/daemonbox.net
$TTL 3600 ; 1 hour
daemonbox.net. IN SOA chadwick.daemonbox.net.
dstanford.daemonbox.net. (
2006072400 ; Serial
1d ; Refresh
2h ; Retry
100d ; Expire
1h ) ; Minimum TTL
; DNS Servers
@ IN NS chadwick.daemonbox.net.
@ IN NS ns1.nac.net.
@ IN NS ns2.nac.net.
; MX Records
IN MX 10 mail.daemonbox.net.
; Machine Names
localhost IN A 127.0.0.1
chadwick IN A 66.246.140.170
mail IN A 66.246.246.58
www IN A 66.246.140.170
@ IN A 66.246.140.170
; Aliases
www IN CNAME @
[EMAIL PROTECTED] ~]# /etc/rc.d/named start
Starting named.
[EMAIL PROTECTED] ~]# host -t a daemonbox.net localhost
Using domain server:
Name: localhost
Address: 127.0.0.1#53
Aliases:
Host daemonbox.net not found: 2(SERVFAIL)
Does anyone see anything wrong with this? Thanks for all your help!
-David
--
[EMAIL PROTECTED] ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"