Tapan

Well-Known Member
Dec 4, 2004
108
0
166
Chandigarh
Hello,

I goto Server Setup > Edit Setup

In Primary Nameserver i enter: ns.avissoftware.com and click on the Assign IP Address button and i get:

Nameserver Ip Assignment
The nameserver ns.avissoftware.com has been assigned the ip 72.36.203.162.
Then i press the Add an A entry for this nameserver button and i get the following:

Adding an A entry for nameserver ns.avissoftware.com
Found your nameserver to be: ns.avissoftware.com
Found your domain name to be: avissoftware.com
Found your nameserver name to be: ns
Found your nameserver ip to be: 72.36.203.162
If this looks correct, Add the entry
I press the Add the entry button and i get the following:

Adding an A entry for nameserver ns.avissoftware.com
Zone avissoftware.com does not exist, a new zone for ns.avissoftware.com will be created.
Sorry, a DNS entry for ns.avissoftware.com already exists, please delete it first Add Complete
Then i tried to add a entry from the DNS Functions > Add an A Entry for your Hostname and i got the following:

Zone avissoftware.com does not exist, a new zone for host.avissoftware.com will be created.
Bind reconfiguring on host using rndc Error reconfiguring bind on host: rndc: connect failed: connection refused
Created DNS entry for host.avissoftware.com
Add Complete
.

Can you please let me know whats going on ?

Thanks.
 

Tapan

Well-Known Member
Dec 4, 2004
108
0
166
Chandigarh
Hi

nobody helped me on this one..and i had to pay admin to fix this. He took like 5 seconds and did it..and i had to shell a heap of $$$. Now if someone can help me with a very little task.

the admin guy configured a nameserver as ns.avissoftware.com whereas i need it as ns1.avissoftware.com

how do i do it safely so i don't mess up things again and all keeps on working ?

thanks.
 

kaosent

Active Member
Jul 12, 2005
44
0
156
Sorry to hear about your experience, but during certain hours of the day, the forum 'population' may or may not be available to assist you instantantly, it most certainly was not due to anyone ignoring your post (just my $0.02 :) )

Should be a piece of cake, log into WHM, and go to the DNS Functions section, select Edit A DNS Zone.

Select the domain from the right hand side, probably reads 'avissoftware.com'.

{note: if you see a separate DNS Zone for ns.avissoftware.com in that list, these directions may not work as advertised, also, if you can't get this to work, I can do it for you for free (and show you what I did)}

When the DNS Zone appears, scroll down, and you should see a line that reads:
ns 14400 IN A 72.36.203.162

Change that ns to ns1 (and make sure IP is correct.). Then double check the top line, where it reads:

@ 14400 IN SOA ns.avissoftware.com (dot email thing)

IF IF IF ns.avissoftware.com is there, change that to read ns1.avissoftware.com (it MUST be a valid domain).

Then SAVE the record. Then go to the Server Setup section and select Edit Setup, scroll down and find where ns.avissoftware.com is in the field, and change it to ns1.avissoftware.com. SAVE configuration.

Restart BIND. Should work. Disclaimer: I did say should :D, there is a chance that I missed something, but it just worked on my test box.
 

Tapan

Well-Known Member
Dec 4, 2004
108
0
166
Chandigarh
Hi kaosent,

I can see seperate dns enteries for ns.avissoftware.com and ns2.avissoftware.com and avissoftware.com and host.avissoftware.com. If i just change ns.avissoftware.com to ns1.avissoftware.com everywhere will that work ?

Thanks.
 

kaosent

Active Member
Jul 12, 2005
44
0
156
It should. I am not sure why your admin decided to make completely separate DNS zones for each subdomain, I would have just put them all as A records in the avissoftware.com DNS zone (if I am missing a good reason to do this, someone please let me know! :) )... but, if you change the ns.avissoftware.com DNS zone to ns1.avissoftware everywhere it exists in that zone, ensure that it is assigned the right IP address, restart bind, and it should be recognized. Just a note, however, the IP address that is currently associated with the name server in your registrar's database for ns1.avissoftware.com does not match what you posted above, in fact it is a 209.xx.xxx.xx address. (nslookup). If this is not correct, you will need to contact your registrar and have the proper IP address listed for their DNS server record. Good luck.
 
Last edited:

kaosent

Active Member
Jul 12, 2005
44
0
156
Gotcha! :D



Edit: lol, this post was posted after linux-image's post below.
 
Last edited:

linux-image

Well-Known Member
Jun 8, 2004
1,190
1
168
India
cPanel Access Level
Root Administrator
once the domains are all moved to the new server, you can change the ns1 to point to the new server. the ns and ns2 db were created seperate, as he had given the nameservers as this at the configuration of the new server.
 

linux-image

Well-Known Member
Jun 8, 2004
1,190
1
168
India
cPanel Access Level
Root Administrator
also to be noted is that the new server did not have a db for the domain.com whose ns and ns2 you are mentioning is to be added as "A" at its db.
 

lloyd_tennison

Well-Known Member
Mar 12, 2004
697
1
168
ns.domain.com is not a valid nameserver, per at least the following registrars:

Enom
GoDaddy

(Probably others too.)

The only allowed values are ns1. ns2, etc and dns1, dns2, etc. In fact, I know Enom will not take anything other than those values as they are not standard. Per dnsreports.com - if you hae non-standard nameservers some people will not be able to reach your site or send or receive email to you.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Then Enom and GoDaddy are wrong, AFAIK. You can have any valid FQDN as your nameservers. Using ns or ns1, etc, is simply a naming convention and should have no bearing whatsoever on the ability of a domain to be resolved.
 

lloyd_tennison

Well-Known Member
Mar 12, 2004
697
1
168
Enom:

How do I create a nameserver using my domain name?

If you are running your own DNS server and would like to use your domain name to create a nameserver, you may register the nameserver name and IP address with eNom so that we may register this with the Registry.

* Login to your account.
* From the menu at the top select DOMAINS, advanced tools and then register DNS.
* Use the tool in the first section of the page "Register a NameServer Name" to create your nameserver.

The domain must be in your account.

Each nameserver must begin with ns or dns
Example: ns1.yourdomain.com dns2.yourdomain.net

If you try anything else - it will not accept.
 
Last edited:

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
That may well be their requirement, however they are completely wrong in imposing it. An NS record is defined simply as a hostname with an associated A record as per the RFC governing the structure of a zone file:
http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc1035.html

They may have their own reason for imposing such restrictions on you, but they are breaking the RFC's and there's no reason that you cannot use any valid hostname as your nameserver names.

Indeed, have a look at /var/named/named.ca which lists the . nameservers.
 

lloyd_tennison

Well-Known Member
Mar 12, 2004
697
1
168
I sent them a question as to why. Will keep you updated. Who knows, maybe there is another RFC that says different and supercedes (especially since they do that all the time :rolleyes: )

I looked at 1035 earlier today and see the same you do.

Even weirder:

(from dnsstuff.com)


WHOIS results for 198.41.0.4

NetRange: 198.41.0.0 - 198.41.3.255
CIDR: 198.41.0.0/22
NetName: INTERNIC1
NetHandle: NET-198-41-0-0-1
Parent: NET-198-0-0-0-0
NetType: Direct Assignment
NameServer: NS1.CRSNIC.NET
NameServer: NS2.NSIREGISTRY.NET
NameServer: NS3.VERISIGN-GRS.NET
NameServer: NS4.VERISIGN-GRS.NET
Not
formerly NS.INTERNIC.NET
;
. 3600000 IN NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
as that file states.
 
Last edited:

lloyd_tennison

Well-Known Member
Mar 12, 2004
697
1
168
Enom sent me back this response:

Actually, now you don't need to use ns or dns. You can create any record as you like.
So, you are correct Chripy. That used to be the rules, but was changed in the last major updates of RFC's last year - but it seems not everyone has updated all listings, etc.