mcenetwork

Member
May 29, 2005
11
0
151
I would like some help on this:

When i try to delete IP's in the IP manager.
This Shows:
Sorry, the nameserver ip 216.240.148.141 cannot be removing since it is still registered with an ICANN register

Also why am i getting this email?

IMPORTANT: Do not ignore this email.
The hostname (mcenetwork.com) resolves to . It should resolve to
216.240.148.140. Please be sure to correct /etc/hosts as well as the 'A' entry
in zone file for the domain.

Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if you
believe everything else is correct.


You may be able to
automaticly correct this problem by using the ' Add an A entry for your
hostname ' under ' Dns Functions ' in your Web Host Manager


Thanks

Tobie
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
If you are sure that you are not going to use this nameserver IP then you may remove it from your WHM

ssh as root

edit /etc/nameserverips

remove the IP's

Then
chattr +i /etc/nameserverips

But there are chances that this is used by some domains which are registered.

About the Hostname issue
if this didn't fix the issue

*******************************************************************************************************
automaticly correct this problem by using the ' Add an A entry for your
hostname ' under ' Dns Functions ' in your Web Host Manager
*********************************************************************************************************

then please edit the /etc/resolv.conf and add your main server IP as the 1st entry. then you may add two more.




Please have a try. It may help you.

--------------
Aby
 

bela flor

Member
May 26, 2005
9
0
151
I am having the same issue. I have clicked on the add an a entry for your hostname and that did not resolve the problem.

Aby, I dont know much about unix quite new at it and so I did not know how to get to "edit the /etc/resolv.conf" I am guessing that this is not done through the WHM but is done through some line coding. Are you able to offer me a little light on this area.

Thanks,

Bela
 

azn_romeo_4u

Active Member
Jun 1, 2005
42
1
158
I was wondering how you do that as well...

Also when I go to edit /etc/resolv.conf

there are two ip there already, in the 2nd and 3rd spot. Shoud I leave it like that and just add my main ip to the top spot?
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
azn_romeo_4u said:
I was wondering how you do that as well...

Also when I go to edit /etc/resolv.conf

there are two ip there already, in the 2nd and 3rd spot. Shoud I leave it like that and just add my main ip to the top spot?


Yeah......... You may add the main server IP on the top leaving the other two as it is.. It is worth a try.
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
bela flor said:
I am having the same issue. I have clicked on the add an a entry for your hostname and that did not resolve the problem.

Aby, I dont know much about unix quite new at it and so I did not know how to get to "edit the /etc/resolv.conf" I am guessing that this is not done through the WHM but is done through some line coding. Are you able to offer me a little light on this area.

Thanks,

Bela
You have to login as root using ssh and then edit the resolv.conf. :eek:
 

bela flor

Member
May 26, 2005
9
0
151
Thank you for the reply. I got into ssh through a software called putty. Once I got in and I typed edit /etc/resolv.conf it showed to lines of code with two different IPs, ones I had never seen before. I then changed those to my main nameserver IPs. I then saved the information and logged out. I hope I did that right. Is there anyway to check to make sure it was done correctly.

Thanks for the help,

Bela
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
bela flor said:
Thank you for the reply. I got into ssh through a software called putty. Once I got in and I typed edit /etc/resolv.conf it showed to lines of code with two different IPs, ones I had never seen before. I then changed those to my main nameserver IPs. I then saved the information and logged out. I hope I did that right. Is there anyway to check to make sure it was done correctly.

Thanks for the help,

Bela

Add your main server Ip as the first entry of resolv.conf as i have told you earlier. Then see if you are having any more errors or pop ups

-----

Aby,
 

bela flor

Member
May 26, 2005
9
0
151
Aby,

Thanks for the information. It looks like everything is working on that.

I dont know if this has anything to do with what you just helped me fix or if you can help resolve it. After I create a site by going to Account Functions - Create a New Account the site does not work until I go and click on DNS/Name Server (BIND) under Restart Services. When I say that the site does not work I am talking about getting to there from the internet. I type in the url and I get that url can not be found page from MSN. As soon as I hit the button to restart the name servers and they restart I can then get to that site without a problem. Do I need to change a setting or something that automatically restarts that service or is there something else I need to do.

Thanks,

Bela
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
bela flor said:
Aby,

Thanks for the information. It looks like everything is working on that.

I dont know if this has anything to do with what you just helped me fix or if you can help resolve it. After I create a site by going to Account Functions - Create a New Account the site does not work until I go and click on DNS/Name Server (BIND) under Restart Services. When I say that the site does not work I am talking about getting to there from the internet. I type in the url and I get that url can not be found page from MSN. As soon as I hit the button to restart the name servers and they restart I can then get to that site without a problem. Do I need to change a setting or something that automatically restarts that service or is there something else I need to do.

Thanks,

Bela

Do you see any errors when you restart the bind from whm

1. What OS are you running and which version

Also please check the permision of named.conf

Please verify

rndc status

Please tail /var/log/messages and /usr/local/cpanel/logs/error_log when adding a new account and are there any errors?


If there are any issues with the bind

/scripts/fixndc it can help. Please have a try...


--------
Aby :)
 

cPDan

cPanel Staff
Staff member
Mar 9, 2004
721
13
243
aby said:
chattr +i /etc/nameserverips
While its in good nature that this was recommended you WILL have tons of problems if you chattr +i almost any file.

DO NOT DO THIS, if you do it then do not request support for any issue until its removed and the problem replicated without it.