Discussion:
Trying to understand DNS
(too old to reply)
i***@gmail.com
2013-12-09 17:39:59 UTC
Permalink
Hi,
So... can anyone tell me - does the nameserver for the domain "google.com" have the IP address for google.com, AS WELL AS the ip addresses of the nameservers for "hello.google.com"?
Just saw a youtube video on the subject, trying to understand the whole thing..... :)


Thanks.
Barry Margolin
2013-12-09 21:27:06 UTC
Permalink
Post by i***@gmail.com
Hi,
So... can anyone tell me - does the nameserver for the domain "google.com"
have the IP address for google.com, AS WELL AS the ip addresses of the
nameservers for "hello.google.com"?
Just saw a youtube video on the subject, trying to understand the whole thing..... :)
There is no "hello.google.com" subdomain.

If there were, it could be stored in the same zone as google.com, so
that these records would be returned by the google.com nameservers. Or
the subdomain could be delegated to different servers, in which case the
google.com nameservers would just have the NS records for the subdomain.
--
Barry Margolin
Arlington, MA
Pascal Hambourg
2013-12-09 22:24:08 UTC
Permalink
Post by Barry Margolin
Post by i***@gmail.com
So... can anyone tell me - does the nameserver for the domain "google.com"
have the IP address for google.com, AS WELL AS the ip addresses of the
nameservers for "hello.google.com"?
There is no "hello.google.com" subdomain.
If there were, it could be stored in the same zone as google.com, so
that these records would be returned by the google.com nameservers. Or
the subdomain could be delegated to different servers, in which case the
google.com nameservers would just have the NS records for the subdomain.
Not only the NS records but also the associated address records if their
names belong to the parent or child zone.
i***@gmail.com
2013-12-10 08:08:57 UTC
Permalink
Post by Pascal Hambourg
Not only the NS records but also the associated address records if their
names belong to the parent or child zone.
Sorry I don't understand what this means YET, Pascal! :) Give me a bit of time.
Ramon F Herrera
2014-02-06 13:37:08 UTC
Permalink
Post by i***@gmail.com
Post by Pascal Hambourg
Not only the NS records but also the associated address records if their
names belong to the parent or child zone.
Sorry I don't understand what this means YET, Pascal! :) Give me a bit of time.
What they are trying to tell you is that the server in charge of the
.com top level domain can tell your client who is the server for
google.com and that one can either tell you:

(a) I have the IP address of hello.google.com

or

(b) I do not have such address, but I know of a server that does.

De nada...

-Ramon

ps: There is an excellent tool, "dig" which will allow you to experiment
and learn. It comes with Linux.

i***@gmail.com
2013-12-10 08:07:51 UTC
Permalink
OK, we'll get into more complicated things later, I'm just trying to understand from the beginning :) Sorry, what's an NS record?
Barry Margolin
2013-12-10 08:22:48 UTC
Permalink
Post by i***@gmail.com
OK, we'll get into more complicated things later, I'm just trying to
understand from the beginning :) Sorry, what's an NS record?
NS records specify the nameservers for delegated subdomains.

So if the nameservers for hello.google.com were ns1.netsol.com and
ns2.netsol.com, the google.com zone would contain records like:

hello IN NS ns1.netsol.com.
IN NS ns2.netsol.com.

Maybe you should read the DNS section of TCP/IP Guide:

http://www.tcpipguide.com/free/t_TCPIPDomainNameSystemDNS.htm
--
Barry Margolin
Arlington, MA
Pascal Hambourg
2013-12-10 23:26:35 UTC
Permalink
Post by Barry Margolin
Post by i***@gmail.com
OK, we'll get into more complicated things later, I'm just trying to
understand from the beginning :) Sorry, what's an NS record?
NS records specify the nameservers for delegated subdomains.
So if the nameservers for hello.google.com were ns1.netsol.com and
hello IN NS ns1.netsol.com.
IN NS ns2.netsol.com.
And if the nameservers names for hello.google.com were ns1.google.com
and ns2.hello.google.com instead, which belong to the parent and child
zone respectively, the google.com zone would contain additional "glue"
records like :

ns1.google.com. IN A 192.0.2.1
ns2.hello.google.com. IN A 192.0.2.2
Continue reading on narkive:
Loading...