Submitted by kappler0 on Sun, 02/05/2012 - 20:24 Pro Licensee
Well i seem to have completely hosed a system and need to re-install virtualmin. What is the proper procedure to do so? (I think migrated cpanel accounts caused some problems and now i cannot get anything to work properly) Somehow i missed setting up Bind before migrating accounts so now i cannot get the resolv.conf to stick, bind to run, and other dns issues..
Submitted by kappler0 on Sun, 02/05/2012 - 20:24 Pro Licensee Comment #1
fyi: when trying to start BIND:
Failed to start service : Failed to start BIND : Starting named: Error in named configuration: zone localhost.localdomain/IN: loaded serial 0 zone localhost/IN: loaded serial 0 zone 126.96.36.199.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0 zone 188.8.131.52.in-addr.arpa/IN: loaded serial 0 zone 0.in-addr.arpa/IN: loaded serial 0 /var/named/neweffectit.net.hosts:20: ignoring out-of-zone data (mail01.targetmyad.net) /var/named/neweffectit.net.hosts:21: ignoring out-of-zone data (host01.dealbent.net) zone neweffectit.net/IN: loaded serial 1328393967 /var/named/scottkappler.com.hosts:21: www..scottkappler.com: bad owner name (check-names) /var/named/scottkappler.com.hosts:22: ftp..scottkappler.com: bad owner name (check-names) /var/named/scottkappler.com.hosts:23: m..scottkappler.com: bad owner name (check-names) /var/named/scottkappler.com.hosts:24: localhost..scottkappler.com: bad owner name (check-names) /var/named/scottkappler.com.hosts:25: webmail..scottkappler.com: bad owner name (check-names) /var/named/scottkappler.com.hosts:26: admin..scottkappler.com: bad owner name (check-names) /var/named/scottkappler.com.hosts:27: mail..scottkappler.com: bad owner name (check-names) dns_rdata_fromtext: /var/named/scottkappler.com.hosts:28: near 'mail..scottkappler.com.': bad name (check-names) zone scottkappler.com/IN: loading from master file /var/named/scottkappler.com.hosts failed: bad owner name (check-names) zone scottkappler.com/IN: not loaded due to errors. _default/scottkappler.com/IN: bad owner name (check-names) zone whatacutiecuts.com/IN: loaded serial 1328397390 zone whatacutiecuts.us/IN: loaded serial 1328397389 zone chateauforest.com/IN: loaded serial 1328397616 zone cnetreport.com/IN: loaded serial 1328397749 zone heavenlyaffaire.com/IN: loaded serial 1328397801 zone conservativetarget.com/IN: loaded serial 1328398076 zone conservativetarget.org/IN: loaded serial 1328398075 zone conservativetarget.us/IN: loaded serial 1328398075 zone neweffectit.com/IN: loaded serial 1328401033 zone kapplerholdings.com/IN: loaded serial 1328417223 [FAILED]
Submitted by JamieCameron on Sun, 02/05/2012 - 21:13 Comment #2
A re-install is pretty drastic .. are you sure you want to do that?
One way would be to backup any domains you want to keep, re-install the OS, re-install Virtualmin, then restore from your backups.
Submitted by kappler0 on Sun, 02/05/2012 - 22:46 Pro Licensee Comment #3
Well that's not really the preferred route - I already have backups of all domains.. I cannot seem to figure the best way to correct this though, but if i have to do an OS re-install that would be a problem now... (not onsite) What would you suggest to do to fix??
Submitted by JamieCameron on Mon, 02/06/2012 - 15:04 Comment #4
Could you post or attach the contents of that file
/var/named/scottkappler.com.hostsfrom the BIND error ?
Submitted by kappler0 on Mon, 02/06/2012 - 17:28 Pro Licensee Comment #5
Well not any longer - i actually deleted all but one domain for now (the one to be used for dns) BIND now starts but i have not gone any farther than this yet... I am not sure if something is still lingering as The strange thing is at godaddy when i try to add the nameservers (ns1/ns2.neweffectit.net) to the neweffectit.net domain it gives a "Nameserver not registered" error. (this server is supposed to be the nameserver)
Not sure what i should do / check anything at this point?
Submitted by JamieCameron on Mon, 02/06/2012 - 19:04 Comment #6
You may need to add those hosts at godaddy first .. they probably have a different section in their control panel for adding a "glue record" host with an IP address.
Submitted by kappler0 on Mon, 02/06/2012 - 19:47 Pro Licensee Comment #7
Yes, i am aware of the settings at Godaddy. The hosts are all "supposedly" correctly set-up. They are saying it is the (this) server... What is even stranger is if i do a test from http://network-tools.com on the IP i get this:
IP address: 184.108.40.206
Host name: host01.neweffectit.com
220.127.116.11 is from United States(US) in region North America
TraceRoute to 18.104.22.168 [host01.neweffectit.com]
Hop (ms) (ms) (ms) IP Address Host name
1 1 0 0 22.214.171.124 jbdr2.0.dal.colo4.com
2 0 0 0 126.96.36.199 xe-4-2-0.er2.dfw2.us.above.net
3 0 0 0 188.8.131.52 xe-0-1-0.cr2.dfw2.us.above.net
4 5 5 5 184.108.40.206 xe-4-2-0.cr2.iah1.us.above.net
5 19 19 19 220.127.116.11 xe-1-1-0.mpr3.atl6.us.above.net
6 20 20 20 18.104.22.168 22.214.171.124.t00623-01.above.net
7 20 20 20 126.96.36.199 ge1-2.6509-aa.34.coloat.com
8 20 20 20 188.8.131.52 -
9 20 20 20 184.108.40.206 host01.neweffectit.com
Retrieving DNS records for host01.neweffectit.com...
Attempt to get a DNS server for host01.neweffectit.com failed: host01.neweffectit.com does not exist in the DNS
Whois query for neweffectit.com...
Results returned from whois.internic.net:
One thing to note is it shows "Host name: host01.neweffectit.com" but the hostname is actually "host01.neweffectit.net" so i dont know where the .com is coming from.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
grep myhostname /etc/postfix/main.cf:
[root@host01 etc]# grep myhostname /etc/postfix/main.cf
# The myhostname parameter specifies the internet hostname of this
# from gethostname(). $myhostname is used as a default value for many
#myhostname = host.domain.tld
#myhostname = virtual.domain.tld
# The default is to use $myhostname minus the first component.
# mail appears to come from. The default is to append $myhostname,
#myorigin = $myhostname
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
# The default is $myhostname + localhost.$mydomain. On a mail domain
mydestination = $myhostname, localhost.$mydomain, localhost, host01.neweffectit.net
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
# You MUST specify $myhostname at the start of the text. That is an
#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
And finally the dns records for neweffectit.net on the server:
@ IN SOA ns1.neweffectit.net. root.ns1.neweffectit.net. (
@ IN NS ns1.neweffectit.net.
@ IN NS ns2.neweffectit.net.
neweffectit.net. IN A 220.127.116.11
www.neweffectit.net. IN A 18.104.22.168
ftp.neweffectit.net. IN A 22.214.171.124
m.neweffectit.net. IN A 126.96.36.199
localhost.neweffectit.net. IN A 127.0.0.1
webmail.neweffectit.net. IN A 188.8.131.52
admin.neweffectit.net. IN A 184.108.40.206
ns1.neweffectit.net. IN A 220.127.116.11
ns2.neweffectit.net. IN A 18.104.22.168
neweffectit.net. IN TXT "v=spf1 a mx a:neweffectit.net a:host01.neweffectit.net ip4:22.214.171.124 -all"
Any thoughts on what to do now? I am calling godaddy too to be sure their system isn't messing something up.. or is not accurate.. Thanks a lot!
Submitted by kappler0 on Mon, 02/06/2012 - 20:04 Pro Licensee Comment #8
Update: godaddy was screwed up - we had to delete and re-create the hosts. For future reference if you create a host at godaddy and their systems are performing updates or maintenance at the same time it will tell you that your changes are saved but they are really not... this is apparently what occurred..
However, i still have this .com hostname thing... did i miss updating a file somewhere? it is centos6.2
Thanks a lot.
Submitted by JamieCameron on Mon, 02/06/2012 - 21:20 Comment #9
Which page are you seeing the .com hostname on?
Submitted by kappler0 on Mon, 02/06/2012 - 23:08 Pro Licensee Comment #10
That is what appears from outside - ie. http://network-tools.com and enter the domain or ip to run a check it returns with: 126.96.36.199 host01.neweffectit.com
Same result from dnsstuff and others... (if you look at the post #7 above in the first box you will see the tracert that shows it) Thx
Submitted by JamieCameron on Mon, 02/06/2012 - 23:53 Comment #11
That's a reverse DNS lookup result ... you'd have to ask your ISP or hosting company to change it. It isn't under godaddy's control at all.
Submitted by kappler0 on Mon, 02/06/2012 - 23:57 Pro Licensee Comment #12
ha! wow, how did i miss that... i think i've been in front of this computer too long... I am my own host so i control RDNS... and you were right - i must have mistyped it..
Well i am officially done for the night. I will start trying to reupload domains tomorrow - Thanks for your help..