IP check, dns resolves correctly but WHM warns wrong

phicts

Active Member
Feb 8, 2013
36
0
6
cPanel Access Level
Root Administrator
Basic Setup should work all the time. Are you sure you clicked Save Changes at the bottom and no errors were displayed?

If you are talking about nameservers on that page: The root account’s default nameservers used when root creates an account.

Anyway, glad you have solved it. Good luck.
That's what I thought too, that the basic setup is all you need to edit and it should work right after you "click Save Changes at the bottom and no errors are displayed." In fact, i can clearly remember it's the first thing i tried. Searching this forum and others with Google showed up such basic how-to so I tried and tried. No luck though.

Only the procedure on how to change primary ip as seen on Codero did worked for me. codero.com knowledge base :: How to change the primary IP addres of a WHM/cPanel server

Thanks to you and to quietFinn for all the replies.

- - - Updated - - -

I don't understand what you mean by "maindomain". In a dedicated server (or VPS) there is not such a thing as "main domain".

I do not have a DNS zone for the hostname of the server, instead I always have the A record for the hostname in the DNS zone of the hostname's domain.
But you do have an entry for your FQDN, right? Where is it?
Yours is a very interesting setup then. I believe it's OK, considering you claimed that you manually setup your A record. If it works for you, no problem. :)
 
Last edited:

phicts

Active Member
Feb 8, 2013
36
0
6
cPanel Access Level
Root Administrator
Yes that is right, but in post #11 you told it's like this:

Code:
hostname.domain.tld. NS dns1.domain.tld
hostname.domain.tld. NS dns2.domain.tld
hostname.domain.tld. A  x.x.x.x1
localhost	             A  127.0.0.1
hostname                A  x.x.x.x1
These are the records appearing in my DNS zone as seen in WHM for my hostname.mydomain.tld or fqdn, which you do not have since you said,

I do not have a DNS zone for the hostname of the server, instead I always have the A record for the hostname in the DNS zone of the hostname's domain.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,648
323
438
Finland
cPanel Access Level
Root Administrator
But you do have an entry for your FQDN, right? Where is it?
FQDN = fully qualified domain name. A server's hosname must be a FQDN.

If you are asking where is the A entry for the hostname of the server I have told it a few times already:
It is in the DNS zone of the hostname's domain.

If the hostname is dog.cat.tld then the A record for the hostname is in the DNS zone of the domain cat.tld:
dog 14400 IN A <MAIN_SHARED_IP_OF_SERVER>
 

phicts

Active Member
Feb 8, 2013
36
0
6
cPanel Access Level
Root Administrator
@quietFinn:
Actually, it is neither the problem nor the solution to my concern in this topic. Like i've said, i already have such record you're referring to in the first place. It just happened that you don't have another DNS zone that I have right from the start. So just please excuse if I have caused you confusion. And thanks for all the replies.
 

phankhue

Registered
Apr 23, 2013
3
0
1
cPanel Access Level
Reseller Owner
uhm, looks like i need to edit the .x2 entry, right?
so how should it look like once i edit it? delete the x1 entry/line and change x2 to x1 in the last line? Thanks in advance.