[buug] Re: DNS Server and Apache on same machine
Jarell Douville
jcdouville at sbcglobal.net
Wed Oct 20 17:32:06 PDT 2004
Bind was 8.3.7-REL but I'm updating to 9 now. I fixed
the @ problem and ")" problem in the mpflea.net zone
file and now it starts up fine with no error's in the
log/messages file.
Shouldn't I be able to type ns1.mpflea.com in to the
url box and get some good response?
--- Rick Moen <rick at linuxmafia.com> wrote:
> Quoting Jarell Douville (jcdouville at sbcglobal.net):
>
> > I'm using apache13-modssl and the version of bind
> that
> > comes default with freebsd-4.10.
>
> An old boss of mine had a saying: "That's almost
> useful" (i.e., not
> useful at all). Here's how I query my installation
> of BIND for its
> version number:
>
> [rick at uncle-enzo]
> ~ $ /usr/sbin/named -v
> BIND 9.2.4rc5
>
>
> > I used the command make-localhost.
>
> Others may have a different perspective on the
> elephant under scrutiny,
> but the foregoing doesn't tell me anything.
>
>
> You could have meant to say:
>
> 1. I constructed /etc/named/mpflea.net as follows:
> [cited]
> 2. I constructed /etc/named.conf as follows:
> [cited]
> 3. I attempted to [re-]start BIND using this exact
> sequence of
> commands: [cited]
> 4. The following was returned to stdout: [cited]
> 5. The following was recorded in
> /var/log/daemon.log: [cited]
> (Substitute appropriate logfile.)
> 6. The following was returned to stdout when I
> typed
> "dig @localhost www.mpflea.com CNAME".
> (Substitute as required any other command that
> suffices to show
> the symptom.)
>
>
>
> > Here's my "mpflea.net" zone file:
> > ///////////////////////////////
> > $TTL 3600
> > mpflea.net. IN SOA ns1.mpflea.com.
> admin.mpflea.net. (
> > 5 ; Serial
> > 10800 ; Refresh
> > 3600 ; Retry
> > 604800 ; Expire
> > 86400 ; Minimum TTL
> > ; DNS Servers
> > @ IN NS ns1.mpflea.com.
> > ; Machine Names
> > localhost IN A 127.0.0.1
> > ns1 IN A @
> > mail IN A @
> > mpflea.net IN A @
> > @ IN A 208.185.250.89
>
> I'm not going to debug your entire zonefile, but:
> (1) You shouldn't be
> trying to define localhost, here: It's not part of
> that zone at all.
> (2) You have gravely misunderstood the meaning and
> purpose of "@" in
> BIND zonefiles.
>
>
> Note: Your resolver configuration (resolv.conf)
> isn't directly relevant
> to this issue. You're trying to debug the _server_
> end of DNS. Your
> resolver is a DNS _client_ piece.
>
>
More information about the buug
mailing list