LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   how does ping ns1.somedomain.com work? (https://www.linuxquestions.org/questions/linux-server-73/how-does-ping-ns1-somedomain-com-work-633636/)

fatal_err0r 04-07-2008 07:02 AM

how does ping ns1.somedomain.com work?
 
friends,

scenario is
i have purchased a domain myveryuniquedomain.com from some domain registrar, say godaddy.com
And i have decided that i could handle the DNS queries for myveryuniquedomain.com.
In the web interface of godaddy.com i gave my nameserver would be
ns1.myveryuniquedomain.com

and i have a static ip from my ISP, say 100.101.102.103

I configured ns1.myveryuniquedomain.com in 100.101.102.103

and the DNS Server is doing its job.

My doubt:
if i issue this command,
$dig ns1.myveryuniquedomain.com , it shows my ip 100.101.102.103

Where did i give in the webinterface of godaddy.com that ns1.myveryuniquedomain.com should resolve to 100.101.102.103?

How does the DNS resolution for ns1.myveryuniquedomain.com work?

Hope you guys got my querry?

blacky_5251 04-07-2008 07:10 AM

Read here...http://en.wikipedia.org/wiki/Domain_Name_System

fatal_err0r 04-07-2008 09:46 AM

Quote:

Originally Posted by blacky_5251 (Post 3113403)

well.. i think i know the DNS concepts..
anyways thank you blacky for the link..
i think i havnt asked a basic question on DNS
Those of you who own a domain and administer server for that domain might get my question!

blacky_5251 04-07-2008 05:51 PM

I do own and administer a domain, thanks for asking.

Why don't you ask your registrar to explain it instead of being snide with people here who are trying to help you?

Use "dig myveryuniquedomain.com +trace" to see which servers are being used to resolve your address. That might help you understand who it is that knows myveryuniquedomain.com equates to 100.101.102.103.

fur 04-07-2008 11:46 PM

Its done via glue records.

The gtld servers contain these delegation records.

Code:

$ host -t ns google.com  a.gtld-servers.net.
Using domain server:
Name: a.gtld-servers.net.
Address: 192.5.6.30#53
Aliases:

google.com name server ns1.google.com.
google.com name server ns2.google.com.
google.com name server ns3.google.com.
google.com name server ns4.google.com.



$ host ns1.google.com. a.gtld-servers.net.
Using domain server:
Name: a.gtld-servers.net.
Address: 192.5.6.30#53
Aliases:

ns1.google.com has address 216.239.32.10


fatal_err0r 04-08-2008 03:09 AM

@blacky
Sorry brother if i sounded sneering!
I am very much thankful to all you guys in this forum.
I never meant to question you


Quote:

Use "dig myveryuniquedomain.com +trace" to see which servers are being used to resolve your address. That might help you understand who it is that knows myveryuniquedomain.com equates to 100.101.102.103
But i am rather interested about how those servers (who resolves myveryuniquedomain.com to 100.101.102.103) know about this information.
In the domain registrator panel i gave my ns record as ns1.myveryuniquedomain.com. And not in any entry i was asked to enter the ipaddress of ns1.myveryuniquedomain.com. Then how come these nameservers know that ns1.myveryuniquedomain.com should resolve to 100.101.102.103?

@fur
Thank you for your help. Now reading more about glue records ..:)

p_s_shah 04-08-2008 10:47 AM

Hi there,

There are options in Godaddy's control panel for adding (not defining) Nameserver, i.e. you can provide name of Name server and its IP address.

Try out following links :
http://cshelpdesk.net/esupport/index...barticleid=296
https://support.exabytes.com/index.p...id=463&nav=0,9

Tell us if you still find problems.


All times are GMT -5. The time now is 04:44 AM.