Domain registrars & DNS servers


 
Thread Tools Search this Thread
Operating Systems Linux Domain registrars & DNS servers
# 1  
Old 11-04-2015
Linux Domain registrars & DNS servers

I have read many tutorials on bind and i understand the A,MX, CNAME records.

Internally, on a LAN we can install bind and create all these records and we can tell all PC and servers to use this bind as DNS server.that's fine.

On the Internet, when we have purchased a valid domain like somedomain.com, from a domain registrar, we are given the choice on which name servers we want the domain to be hosted.

am a bit confused here about this process.what's the name of the server that says for domain somedomain.com use these nameservers. ?

if this would not be the case, then anyone could just install bind on a public server and put whatever records they want for the domain somedomain.com

please clarify this for me.

Last edited by coolatt; 11-04-2015 at 02:25 PM.. Reason: formatting
# 2  
Old 11-04-2015
Think of nameservers as something different (but not necessarily) from your domain.

It's the DNS that holds the zone data for your somedomain.com. To make that official as far as the Internet goes that's why they are asking where your records go... that is what nameservers house the records.

Anymore unless the company is sizable, I chose to use a world wide redundant DNS service (multiple DNS servers with redundance) to house records for a domain (e.g. DNSMadeEasy for example). But as I alluded to earlier you can certainly host your own DNS server(s) (they like for you to have more than one if possible).

When DNS queries are made, ulimately thigns work from the root server down to the tld's etc... and along those paths, your case .com knows who (what DNS servers) stands authoritative for somedomain.com.

With that said, you or anyone else can choose to point to a DNS that "says" it stands authoritative for records for whoever (somedomain.com, mil.gov, etc)... if if that is your DNS that your pointing to you'll get back whatever name to IP (etc) that you have defined there.

Hope that wasn't too confusing.

Maybe another example. The Whitepages is a phone book. I could print my own phone book and change anyone's phone number I want. But this doesn't work at large because chances are people are using the official whitepages and not my hacked up copy.
This User Gave Thanks to cjcox For This Post:
# 3  
Old 11-08-2015
Quote:
Originally Posted by cjcox
Think of nameservers as something different (but not necessarily) from your domain.

It's the DNS that holds the zone data for your somedomain.com. To make that official as far as the Internet goes that's why they are asking where your records go... that is what nameservers house the records.

Anymore unless the company is sizable, I chose to use a world wide redundant DNS service (multiple DNS servers with redundance) to house records for a domain (e.g. DNSMadeEasy for example). But as I alluded to earlier you can certainly host your own DNS server(s) (they like for you to have more than one if possible).

When DNS queries are made, ulimately thigns work from the root server down to the tld's etc... and along those paths, your case .com knows who (what DNS servers) stands authoritative for somedomain.com.

With that said, you or anyone else can choose to point to a DNS that "says" it stands authoritative for records for whoever (somedomain.com, mil.gov, etc)... if if that is your DNS that your pointing to you'll get back whatever name to IP (etc) that you have defined there.

Hope that wasn't too confusing.

Maybe another example. The Whitepages is a phone book. I could print my own phone book and change anyone's phone number I want. But this doesn't work at large because chances are people are using the official whitepages and not my hacked up copy.

Hello,
this still looks confusing to me.

you mean to say the domain registrar will put the somedomain.com in the rootservers , so then it becomes official ?

i was thinking about the whois server.

does it play a role in making the domain official ?

am trying to visualize another thing:
for example, if we query the A records of a domain , the query would also do a whois to find what are the official nameservers. the whois records would then be updated by the domain registrar.

please let me have your views. thanks.
# 4  
Old 11-08-2015
The act of domain registration and authoritative holder of DNS for that domain are separate things. When you have registered a domain normally some DNS is given authority or some means by which you can set the initial DNS to use it given to you.

Whois info can vary. Sometimes whois info is good, sometimes not so good, and of course, you may have to query different sources of register info...

In short, you can have a registered domain without anything on the Internet at all, and no DNS at all. (perhaps not too useful, but you may be planning something or just wanting to make sure you own the domain name)

Likewise you could operate a DNS that doesn't stand authoritative for any "zone" (including zones of a registered domain).

Generally speaking, most will obtain a registered domain and setup the intial DNS servers that will stand authoritative for DNS records of that domain.

whois is a "way" to query the databases of record for info about registered domains. However, because it contains "owner" info (names, addresses and such). Some believe that whois will eventually get shut down or changed so as to protect that data. We'll see.

When you query DNS A records, only DNS is used, whois is never involved. Again, the data in whois (multiple registrars) varies greatly.... can be hard to parse. And sometimes is woefully inaccurate, though I know the US whois servers are really trying to ensure their data stays accurate.

Again, think of DNS as a telephone book. Instead of name to phone number, it's name to IP address (A records).

Going the reverse is interesting too. When you go from IP to get the name (PTR records) the owner of those zones of authority have to do with the network (net block) and thus you may or may not have much control unless the net block owner of the DNS zone info delegates the serving of your network space to your DNS (for example).

In other words, when you own a domain, and setup DNS servres for the domain, we're talking about the A, MX, CNAMES, SRV etc... but *not* the PTR records (in-addr.arpa or ip6.arpa). So if you want to make changes for all you'll also need to work with your ISP or network provider... especially true if you don't actually "own" the IPs but have been given a set to use from your ISP (thus owned by your provider and not you).

Smilie

Ok, I probably just given you more to think about... which may only add to your confusion.

Practice on unix.com. Do whois, do dns lookups. Do a whois on the IP returned for unix.com. There you'll see who owns the net block.

If you own your IPs (remember we're pretty much out of IPv4 blocks), then you can move them pretty easy from provider to provider. Which gives you a bit more flexibility. However, if the IP isn't as important as your registered name and you don't need the flexibility then you'll get something carved our of the netblock your ISP gives to you.

I can give you some examples, using talkfusion:
Whois-RWS

Those are the IPs they own.

Whois-RWS

These are IPs they also use, but come from their provider (datacenter), not really "owned" by them.

I don't know why I'm rambling on.. hopefully more help than harm... I'll post.. and go away...
This User Gave Thanks to cjcox For This Post:
# 5  
Old 11-09-2015
hello,

i like your writings.they are nice.

i understand what you wrote. i got this from noip's website

Authoritative DNS Servers vs. Recursive DNS Servers | No-IP Blog - Managed DNS Services

this is close to what i was searching for, the keyword is "authoritative" which you mentioned in your answer.

thanks

Last edited by coolatt; 11-09-2015 at 02:31 PM..
# 6  
Old 11-09-2015
Yes... in the early days folk's DNS servers were almost always recursive which meant you could use them as your general purpose DNS. But obviously, that could cause problems so usually your server will just server up the zone data for which you are authoriatative for (unless configured to operate recursively based on some rule...e.g. what network you're currently on).

Enjoy!

(next adventure Punycode and IDN!!)
This User Gave Thanks to cjcox For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Linux is not appending domain name in DNS query

In my /etc/resolv.conf file there is domain name defined. But when I do nslookup the domain name is not appended. Why? (18 Replies)
Discussion started by: broy32000
18 Replies

2. UNIX for Advanced & Expert Users

Changing hosting company for one domain, how to deal with DNS?

Hello, Our organization is planning to move one domain from Dreamhost to Hubspot. Lets say, it is gem.xyxyxyxyx.com. Please note, website is not being migrated from one server to another, it is just hosting company. Here is from our internal DNS master server - # cat... (6 Replies)
Discussion started by: solaris_1977
6 Replies

3. Shell Programming and Scripting

Command to flush specific domain in SunOS 5 DNS

Hello to all, May you help saying me how to flush a specific domain in Linux SunOS5 I know the command rndc is to flush DNS cache, but I would like to know: 1- How to do a flush only on specific domain 2- How to see the content of DNS Resolver cache (similar to info given by IPCONFIG... (2 Replies)
Discussion started by: Ophiuchus
2 Replies

4. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

5. UNIX and Linux Applications

Stop samba from querying trusted domain servers

Hi, We've got a samba server running in our DMZ. Our users drag & drop files on it for vendors. Everything was working perfectly until the powers that be decided to build a trust between a couple of internal domains. Samba is now querying each server in the trust. When a user browses... (5 Replies)
Discussion started by: mph
5 Replies

6. Linux

Configuring dns in local domain

Hi everybody, for revolving local host name of my network, I set up an dns server to solve my problem, but til now, nothing happen when I ping a hostname, but work on IP. Can you help me to correct the configuration. Here is all my settings: Voici mes fichiers de configuration: -... (2 Replies)
Discussion started by: beloge2002
2 Replies

7. IP Networking

Select DNS Servers depending on the domain

Hello, I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address. What I'd like is to... (4 Replies)
Discussion started by: martincastell
4 Replies

8. Solaris

change dns (domain name)

hi gurus, need to check other than the hosts file, what else i need to change after we have changed the domain name in our company. currently, we are using olddnsname.com and will change it to newdnsname.com. i am not sure where else in solaris i need to take a look. please advise. thank... (4 Replies)
Discussion started by: kim_custodio
4 Replies

9. AIX

Dns Servers

My only question is Can we have two auteritative Name servers for a single domain? Just a question. (1 Reply)
Discussion started by: vjm
1 Replies
Login or Register to Ask a Question