LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-07-2008, 07:02 AM   #1
fatal_err0r
Member
 
Registered: Apr 2006
Location: Trivandrum
Distribution: Debian Etch, RHEL 5.0
Posts: 30

Rep: Reputation: 15
Question 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?
 
Old 04-07-2008, 07:10 AM   #2
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 4&5, Fedora 10, CentOS 5.4, IPCop
Posts: 569

Rep: Reputation: 54
Read here...http://en.wikipedia.org/wiki/Domain_Name_System
 
Old 04-07-2008, 09:46 AM   #3
fatal_err0r
Member
 
Registered: Apr 2006
Location: Trivandrum
Distribution: Debian Etch, RHEL 5.0
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by blacky_5251 View Post
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!
 
Old 04-07-2008, 05:51 PM   #4
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 4&5, Fedora 10, CentOS 5.4, IPCop
Posts: 569

Rep: Reputation: 54
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.

Last edited by blacky_5251; 04-07-2008 at 07:07 PM.
 
Old 04-07-2008, 11:46 PM   #5
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
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
 
Old 04-08-2008, 03:09 AM   #6
fatal_err0r
Member
 
Registered: Apr 2006
Location: Trivandrum
Distribution: Debian Etch, RHEL 5.0
Posts: 30

Original Poster
Rep: Reputation: 15
@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 ..
 
Old 04-08-2008, 10:47 AM   #7
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 228
Blog Entries: 1

Rep: Reputation: 34
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When to use NS1 and or NS2 for Primary and Secondary Name Servers swamprat Linux - Networking 2 11-05-2007 09:41 PM
how to setup nameserver fore ns1.editdns.net? shams Linux - Networking 1 01-02-2007 01:49 AM
'ping -b' / ping <switch> doesn't work bmike1 Linux - Networking 2 01-10-2005 02:48 PM
why ping doesn't work? 45147 Linux - Networking 1 07-14-2004 06:07 AM
How does ping work? rainmann Linux - Networking 0 06-20-2003 06:44 AM


All times are GMT -5. The time now is 07:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration