Simple DNS Configuration

David Stanford dthomas53 at gmail.com
Tue Jul 25 07:16:54 UTC 2006


> > Yea, I feel I may just use the A records as the additional query issue
> you
> > mentioned previously leaves me thinking it's the better
> configuration...it
> > still bothers me I can't figure it out though. :-/
>
>
> Not sure what you mean.


I was referring to your comment regarding CNAME causing an  additional query
for each look-up:

"I wouldn't recommend using CNAME for www due to extra DNS lookups[1]."

>> [root at chadwick ~]# /etc/rc.d/named start
> >>> Starting named.
> >>
> >> Check your logs.
> >
> >
> > I've been checking /var/log/messages but see nothing after recieving
> that
> > error. Are all named logs placed here by default?
>
>
> This is the only place where I look. As far as I'm concerned, if a
> reload was unsuccessful, then you'll get something in there. Otherwise
> nothing gets logged.
>
>
> >> [root at chadwick ~]# 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!
> >>
> >> Can you resolve other domains (e.g.: freebsd.org)? Can't think of
> >> anything else right now.
> >
> >
> > Yes, as I noted, when  I remove the CNAME entry everything works fine.
> Very
> > strange...
>
>
> Not sure about that either. I guess you shouldn't use it then. Anyway,
> at least your domain is responding now:
>
>
> $ host -t a daemonbox.net chadwick.daemonbox.net
> Using domain server:
> Name: chadwick.daemonbox.net
> Address: 66.246.140.170#53
> Aliases:
>
> daemonbox.net has address 66.246.140.170
>
> $ host -t a www.daemonbox.net chadwick.daemonbox.net
> Using domain server:
> Name: chadwick.daemonbox.net
> Address: 66.246.140.170#53
> Aliases:
>
> www.daemonbox.net has address 66.246.140.170


Wow, I'm surprised you were able to get that as I've also been making
firewall adjustments all night. :)

http://www.dnsreport.com/tools/dnsreport.ch?domain=daemonbox.net
>
>
> www.dnsreport.com is a great tool for all your DNS needs.


Absolutely. I'd be lost at work without it (or dnsstuff.com). :) Thanks
again for all your help!

-David
-- 
[root at fbsd ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.


More information about the freebsd-questions mailing list