Non-existent host/domain

Gerhard Mourani gmourani at openna.com
Mon Nov 6 02:24:34 UTC 2000


Ouf! Thank you Mark is working now, I added @       IN      A       207.35.78.3
into the db.mttconseil file and the nslookup work. Now the problem is for the
webserver since the FDQN is web.mttconseil.com, I want to change it to
www.mttconseil.com. I trying to add inside db.mttconseil file the line: www  IN
CNAME  web.mttconseil.com without success. How to make web.mttconseil.com to become
www.mttconseil.com?

Mark.Andrews at nominum.com wrote:

>         If you want nslookup to give an answer for mttconseil.com add
>         a A record for it.  You have SOA, NS and MX records but no A's
>         which is what you are asking for.
>
>         Mark
>
> >
> > This is the configured named.conf file on the primary domain name server:
> > // BIND configuration file
> >
> > options {
> >         directory "/var/named";
> > };
> >
> > // These files are not specific to any zone
> > zone "." in {
> >         type hint;
> >         file "db.cache";
> > };
> >
> > zone "0.0.127.in-addr.arpa" in {
> >         type master;
> >         file "db.127.0.0";
> > };
> >
> > // These are our primary zone files
> > zone "mttconseil.com" in {
> >         type master;
> >         file "db.mttconseil";
> > };
> >
> > zone "78.35.207.in-addr.arpa" in {
> >         type master;
> >         file "db.207.35.78";
> > };
> >
> > And the db.mttconseil.com on Primary NS:
> >
> > ; Revision History: October 24, 2000 - root at openna.com
> > ; Start of Authority (SOA) records.
> > $TTL 86400
> > @  IN  SOA  web.mttconseil.com. root.mttconseil.com.  (
> >                                         04      ; Serial
> >                                         10800   ; Refresh after 3 hours
> >                                         3600    ; Retry after 1 hour
> >                                         604800  ; Expire after 1 week
> >                                         86400 ) ; Minimum TTL of 1 day
> >
> > ; Name Server (NS) records.
> >         IN      NS      web.mttconseil.com.
> >         IN      NS      portal.mttconseil.com.
> >
> > ; Mail Exchange (MX) records.
> >         MX      0       web.mttconseil.com.
> >
> > ; Address (A) records.
> > localhost       IN      A       127.0.0.1
> > router          IN      A       207.35.78.1
> > portal          IN      A       207.35.78.2
> > web             IN      A       207.35.78.3
> >
> >
> > And the db.207.35.78 on Primary NS:
> >
> > ; Revision History: October 24, 2000 - root at openna.com
> > ; Start of Authority (SOA) records.
> > $TTL 86400
> > @  IN  SOA  web.mttconseil.com. root.mttconseil.com.  (
> >                                         04      ; Serial
> >                                         10800   ; Refresh after 3 hours
> >                                         3600    ; Retry after 1 hour
> >                                         604800  ; Expire after 1 week
> >                                         86400 ) ; Minimum TTL of 1 day
> >
> > ; Name Server (NS) records.
> >         IN      NS      web.mttconseil.com.
> >         IN      NS      portal.mttconseil.com.
> >
> > ; Addresses Point to Canonical Names (PTR) for Reverse lookups
> > 1       IN      PTR     router.mttconseil.com.
> > 2       IN      PTR     portal.mttconseil.com.
> > 3       IN      PTR     web.mttconseil.com.
> >
> >
> > This is the result of nslookup mttconseil.com in debug mode:
> >
> > ;; res_setoptions(" debug
> > ", "conf")..
> > ;;      debug
> > ;; res_nmkquery(QUERY, 3.78.35.207.in-addr.arpa, IN, PTR)
> > ------------
> > Got answer:
> >     HEADER:
> >         opcode = QUERY, id = 28109, rcode = NOERROR
> >         header flags:  response, auth. answer, want recursion, recursion avai
> > l.
> >         questions = 1,  answers = 1,  authority records = 2,  additional = 2
> >
> >     QUESTIONS:
> >         3.78.35.207.in-addr.arpa, type = PTR, class = IN
> >     ANSWERS:
> >     ->  3.78.35.207.in-addr.arpa
> >         name = web.mttconseil.com
> >         ttl = 86400 (1D)
> >     AUTHORITY RECORDS:
> >     ->  78.35.207.in-addr.arpa
> >         nameserver = web.mttconseil.com
> >         ttl = 86400 (1D)
> >     ->  78.35.207.in-addr.arpa
> >         nameserver = portal.mttconseil.com
> >         ttl = 86400 (1D)
> >     ADDITIONAL RECORDS:
> >     ->  web.mttconseil.com
> >         internet address = 207.35.78.3
> >         ttl = 86400 (1D)
> >     ->  portal.mttconseil.com
> >         internet address = 207.35.78.2
> >         ttl = 86400 (1D)
> >
> > ------------
> > Server:  web.mttconseil.com
> > Address:  207.35.78.3
> >
> > ;; res_nmkquery(QUERY, mttconseil.com, IN, A)
> > ------------
> > Got answer:
> >     HEADER:
> >         opcode = QUERY, id = 28110, rcode = NOERROR
> >         header flags:  response, auth. answer, want recursion, recursion avai
> > l.
> >         questions = 1,  answers = 0,  authority records = 1,  additional = 0
> >
> >     QUESTIONS:
> >         mttconseil.com, type = A, class = IN
> >     AUTHORITY RECORDS:
> >     ->  mttconseil.com
> >         ttl = 86400 (1D)
> >         origin = web.mttconseil.com
> >         mail addr = root.mttconseil.com
> >         serial = 3
> >         refresh = 10800 (3H)
> >         retry   = 3600 (1H)
> >         expire  = 604800 (1W)
> >         minimum ttl = 86400 (1D)
> >
> > ------------
> > ;; res_nmkquery(QUERY, mttconseil.com.web.mttconseil.com, IN, A)
> > ------------
> > Got answer:
> >     HEADER:
> >         opcode = QUERY, id = 28111, rcode = NXDOMAIN
> >         header flags:  response, auth. answer, want recursion, recursion avai
> > l.
> >         questions = 1,  answers = 0,  authority records = 1,  additional = 0
> >
> >     QUESTIONS:
> >         mttconseil.com.web.mttconseil.com, type = A, class = IN
> >     AUTHORITY RECORDS:
> >     ->  mttconseil.com
> >         ttl = 86400 (1D)
> >         origin = web.mttconseil.com
> >         mail addr = root.mttconseil.com
> >         serial = 3
> >         refresh = 10800 (3H)
> >         retry   = 3600 (1H)
> >         expire  = 604800 (1W)
> >         minimum ttl = 86400 (1D)
> >
> > ------------
> > ;; res_nmkquery(QUERY, mttconseil.com.portal.mttconseil.com, IN, A)
> > ------------
> > Got answer:
> >     HEADER:
> >         opcode = QUERY, id = 28112, rcode = NXDOMAIN
> >         header flags:  response, auth. answer, want recursion, recursion avai
> > l.
> >         questions = 1,  answers = 0,  authority records = 1,  additional = 0
> >
> >     QUESTIONS:
> >         mttconseil.com.portal.mttconseil.com, type = A, class = IN
> >     AUTHORITY RECORDS:
> >     ->  mttconseil.com
> >         ttl = 86400 (1D)
> >         origin = web.mttconseil.com
> >         mail addr = root.mttconseil.com
> >         serial = 3
> >         refresh = 10800 (3H)
> >         retry   = 3600 (1H)
> >         expire  = 604800 (1W)
> >         minimum ttl = 86400 (1D)
> >
> > ------------
> > ;; res_nmkquery(QUERY, mttconseil.com.mttconseil.com, IN, A)
> > ------------
> > Got answer:
> >     HEADER:
> >         opcode = QUERY, id = 28113, rcode = NXDOMAIN
> >         header flags:  response, auth. answer, want recursion, recursion avai
> > l.
> >         questions = 1,  answers = 0,  authority records = 1,  additional = 0
> >
> >     QUESTIONS:
> >         mttconseil.com.mttconseil.com, type = A, class = IN
> >     AUTHORITY RECORDS:
> >     ->  mttconseil.com
> >         ttl = 86400 (1D)
> >         origin = web.mttconseil.com
> >         mail addr = root.mttconseil.com
> >         serial = 3
> >         refresh = 10800 (3H)
> >         retry   = 3600 (1H)
> >         expire  = 604800 (1W)
> >         minimum ttl = 86400 (1D)
> >
> > ------------
> > *** web.mttconseil.com can't find mttconseil.com: Non-existent host/domain
> >
> > I'm realy tire about this $%^%$#%^ problem...
> >
> > Thor Kottelin wrote:
> >
> > > Gerhard Mourani wrote:
> > > >
> > > > I'm commenting out fetch-glue, recursion, and allow-query. Now I can
> > > > nslookup linux.com and other domain names but still mttconseil.com (our N
> > S)
> > > > return the same message (*** web.mttconseil.com can't find mttconseil.com
> > :
> > > > Non-existent host/domain) and clients domain name which are hosted in our
> > > > NS don’t work again.
> > >
> > > What do your current named.conf and zone files look like? What's the exact
> > > nslookup input and output?
> > >
> > > Please feel free to quote this reply on the bind-users list; I might not
> > > be able to respond to you promptly myself.
> > >
> > > Thor
> > >
> > > > Thor Kottelin wrote:
> > > >
> > > > > Gerhard Mourani wrote:
> > > > >
> > > > > > [root at web etc]# nslookup linux.com
> > > > > > Server:  web.mttconseil.com
> > > > > > Address:  207.35.78.3
> > > > > >
> > > > > > *** web.mttconseil.com can't find linux.com: Non-existent host/domain
> > > > >
> > > > > > The named.conf file is as follow:
> > > > > > options {
> > > > >
> > > > > >         recursion no;
> > > > >
> > > > > > };
> > > > >
> > > > > > // These are our primary zone files
> > > > > > zone "mttconseil.com" in {
> > > > >
> > > > > > zone "78.35.207.in-addr.arpa" in {
> > > > >
> > > > > Your server isn't authoritative for linux.com, and you have disallowed
> > > > > recursion.
> > >
> > > --
> > > Plain old email is very insecure. Please make it
> > > a little safer for yourself and me by using PGP.
> > > FAQ: <URL:http://www.pgp.net/pgpnet/pgp-faq/>.
> > > My public keys are available from key servers.                  !gc
> >
> > --
> > / / Gerhard Mourani
> >
> >
> >
> >
> --
> Mark Andrews, Nominum Inc.
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com

--
/ / Gerhard Mourani

"Open Network Architecture" <http://www.openna.com/>
"Securing & Optimizing Linux: Red Hat Edition" <http://www.linuxports.com/>
"Securing & Optimizing Linux: Red Hat Edition" <http://www.linuxcentral.com/>
"Securing & Optimizing Linux: Red Hat Edition" <http://www.linuxsecurity.com/>





More information about the bind-users mailing list