The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> DNS
|
Primary and Secondary with one ip
Discuss Primary and Secondary with one ip in the DNS forum on Dev Shed. Primary and Secondary with one ip DNS forum discussing issues, servers, and configurations. The Domain Name System (DNS) is what the Internet uses to translate website names into IP addresses.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 20th, 2003, 05:29 AM
|
|
Junior Member
|
|
Join Date: Nov 2001
Location: us
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Primary and Secondary with one ip
Hi,
I currently only have one public ip. From what I have read the secondary nameserver is only used if the primary fails. Since I am only learning to set up dns can I just use my one ip for my primary and secondary dns ip's OR should I just register ns1.mydomain.com using my one static ip will this work??
Is this correct. I already own a domain with network solutions. I log in there and register my domain as a host
ns1.mydomain.com xxx.54.67.122
ns2.mydomain.com xxx.54.67.122
Then change my domain name nameservers to my new nameservers? ns1 and ns2
I read somewhere you need at least 2 ip's to register your domain as a host is this true? I don't want to pay for a second ip yet while i'm still learning and I only have one pc with one nic card
Thanks, Jenn
|

January 20th, 2003, 12:05 PM
|
|
Contributing User
|
|
Join Date: Oct 2000
Location: Back in the real world.
|
|
for learning purposes, you could setup two nameservers on one host, but it will be quite some work.
you should really use a local-only setup. get a second machine and test it in a local network (192.168.*)
Quote: | I read somewhere you need at least 2 ip's to register your domain as a host is this true? |
 What did you read? IMHO this is total bull****. Any machine on the net is a "host" (no need to register with anyone but maybe your dial-up ISP) and to register a domain, one IP is more than enough. (you can even do it without a single IP!)
|

January 20th, 2003, 02:33 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
|
>> I read somewhere you need at least 2 ip's to register your domain as a host is this true?
I think one of the major domain registrars (Network Solutions??) used to impose this restriction a few years ago. Other registrars didn't care and I think they stopped caring too.
|

January 20th, 2003, 07:26 PM
|
|
Contributing User
|
|
Join Date: Oct 2002
Posts: 43
Time spent in forums: 1 m 34 sec
Reputation Power: 11
|
|
|
You can register::
ns1.yourdomain.com
ns2.yourdomain.com
to the same IP address and point your domain name's primary and secondary to your newly registered nameservers.
I am not sure about networksolutions, but directnic.com will allow you to assign mulitple nameservers to 1 IP address.
Also, you could share secondary DNS service with another user in your same boat and register ns2.yourdomain.com to your shared "slave" server.
good luck,
-ab
__________________
Do it yourself webserver: Everything you wanted to know about running a webserver from broadband.
http://www.diywebserver.com
|

January 21st, 2003, 12:49 AM
|
|
Contributing User
|
|
Join Date: Oct 2000
Location: Back in the real world.
|
|
good idea, do it on a mutual agreement. you host his secondary, he hosts yours... 
|

January 21st, 2003, 03:59 AM
|
|
Junior Member
|
|
Join Date: Nov 2001
Location: us
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Thanks all who replied.
I did manage to get the ns1.mydomain.com hosts registered and for my ns2 I just incremented the last octet of my ip by one. I know it's a bogus secondary but it's working for now. I'll take the suggestion to find someone or a service to run slave fo me.
btw - it must be the way network solutions has there script wrote to register hosts online if you don't enter second nameserver and ip it will not record the first one so it seems with them 2 are required.
Best Regards, Jenn
|

February 10th, 2003, 03:02 AM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
>> the secondary nameserver is only used if the primary fails
Absolutely wrong. Unlike MX record where there is a priority preference, when it comes to nameserver they can be queued RANDOMLY and simultaneously.
|

February 21st, 2003, 03:57 AM
|
 |
funky munky
|
|
Join Date: Jul 2001
Location: UK
Posts: 1,446
  
Time spent in forums: 2 Days 18 h 45 m 36 sec
Reputation Power: 14
|
|
I just read this about the IP uniqueness problem for domain registration:
Quote: A big problem (regarding IP uniqueness) has now been fixed. The problem was that Network Solutions, which manages .com etc., insisted on IP uniqueness: if anyone had already registered the same IP address for another server name, you wouldn't be allowed to use the IP address. However, company representative Matt Larson wrote the following on 4 April 2002:
The limitation of only one name server (i.e., A record) per IP address was an unfortunate Registry-based restriction that was removed on January 19 of this year. ... |
bit hard to follow this quote out of context - the whole article is here: http://cr.yp.to/djbdns/dot-com.html.
Does this mean the requirement that 2 DNS servers for a given domain cannot point to the same IP address is now obsolete?
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|