If I simply run a dig mystyka.com ns I get a failed attempt as the name
server is not responding.  If I run your query with +trace it shows the
nameservers by name.  If the domain cannot be contacted to resolve the names
of the name servers to there must be some way that the root must tell the
dns query what address the name servers are at.  How can you get the name
server IP addresses from the root servers?  +trace just times out looking
for any record except ns and for ns it doesn't show what it has for IP
addresses for them.

Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Cowles, Steve
Sent: Sunday, March 30, 2003 10:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: NameServer, DNS, and BIND

> -----Original Message-----
> From: Larry Brown
> Sent: Sunday, March 30, 2003 6:42 PM
> Subject: RE: NameServer, DNS, and BIND
>
>
> My apologies for a feeble attempt at finding the problem.  If
> whois has yet to be updated and the change has in fact been
> made at the root servers as reflected by that dig request, how
> do you find out the ip address associated with those name
> servers that came back from the dig request to make sure his
> server is even getting the requests?  I'm not versed on dig
> and don't know how to shovel up that information.
>

To find the ip address (a record) associated with a fqdn...

dig ns1.mydomain.com a

To find the name server record (ns) for a domain...

dig mydomain.com ns

Issue a query to ns1.mydomain.com for the domain name mydomain.com and
return the ns record

dig @ns1.mydomain.com mydomain.com ns

Basically just specify the "type" of dns record to return at the end of dig.
Some of the well known record types are: ns, a, soa, mx, cname

Also, to find the reverse lookup record (PTR) for ip 1.2.3.4

dig -x 1.2.3.4

Steve Cowles



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to