As per your email, I checked /sbin/ifconfig. The IPs appear to be there for me.
Code:
# /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:138 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11432 (11.1 KiB) TX bytes:11432 (11.1 KiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255. 255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:438861 errors:0 dropped:0 overruns:0 frame:0
TX packets:632929 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35745756 (34.0 MiB) TX bytes:301301486 (287.3 MiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
inet addr:64.120.5.242 P-t-P:64.120.5.242 Bcast:64.120.5.242 Mask:2 55.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
inet addr:64.120.5.253 P-t-P:64.120.5.253 Bcast:64.120.5.253 Mask:2 55.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
/usr/local/directadmin/data/admin/ip.list:
Code:
64.120.5.242
64.120.5.253
Code:
# ls /usr/local/directadmin/data/admin/ips/
64.120.5.242 64.120.5.253
Code:
nano /usr/local/directadmin/data/admin/ips/*
Contents of 64.120.5.242:
Code:
gateway=
netmask=
ns=ns1.emulysianfields.com
reseller=
status=server
value=2
Contents of 64.120.5.253 (my username removed):
Code:
gateway=
netmask=255.255.255.248
ns=ns2.emulysianfields.com
reseller=xxx
status=free
value=
I've tried editing this manually before (and got them to display correctly in DA), to fix them, but, I'm afraid to do that this time, so, again, I'll wait until someone tells me what is correct.
Here's the next steps you mentioned, though I removed my username, and the domain names that aren't emulysianfields.com or the host from the output. I don't think this hinders anything, but, if it does, I can email you the full output:
Code:
[xxx@sonata scripts]# cd /usr/local/directadmin/scripts
[xxx@sonata scripts]# wget -O ipswap.sh http://files.directadmin.com/services/all/ipswap.sh
--2010-08-31 17:45:39-- http://files.directadmin.com/services/all/ipswap.sh
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2329 (2.3K) [application/x-sh]
Saving to: `ipswap.sh'
100%[===================================================================================================================>] 2,329 --.-K/s in 0.001s
2010-08-31 17:45:40 (3.63 MB/s) - `ipswap.sh' saved [2329/2329]
[xxx@sonata scripts]# ./ipswap.sh 216.244.65.187 64.120.5.242
/usr/local/directadmin/data/admin/ips/216.244.65.187 does not exist. Do you want to continue anyway? (y/n) : y
/etc/httpd/conf/httpd.conf : 216.244.65.187 -> 64.120.5.242
/etc/httpd/conf/extra/httpd-vhosts.conf : 216.244.65.187 -> 64.120.5.242
/etc/httpd/conf/ips.conf : 216.244.65.187 -> 64.120.5.242
/etc/proftpd.conf : 216.244.65.187 -> 64.120.5.242
/etc/proftpd.vhosts.conf : 216.244.65.187 -> 64.120.5.242
/etc/hosts : 216.244.65.187 -> 64.120.5.242
/usr/local/directadmin/scripts/setup.txt : 216.244.65.187 -> 64.120.5.242
/usr/local/directadmin/data/admin/ip.list : 216.244.65.187 -> 64.120.5.242
/usr/local/directadmin/data/admin/show_all_users.cache : 216.244.65.187 -> 64.120.5.242
ls: /usr/local/directadmin/data/users/users: No such file or directory
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/emulysianfields.com.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/sonata.emulysianfields.com.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.co.cc.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
/var/named/xxx.db : 216.244.65.187 -> 64.120.5.242
*** Done swapping 216.244.65.187 to 64.120.5.242 ***
[xxx@sonata scripts]# ./ipswap.sh 216.244.65.188 64.120.5.253
/usr/local/directadmin/data/admin/ips/216.244.65.188 does not exist. Do you want to continue anyway? (y/n) : y
/etc/httpd/conf/httpd.conf : 216.244.65.188 -> 64.120.5.253
/etc/httpd/conf/extra/httpd-vhosts.conf : 216.244.65.188 -> 64.120.5.253
/etc/httpd/conf/ips.conf : 216.244.65.188 -> 64.120.5.253
/etc/proftpd.conf : 216.244.65.188 -> 64.120.5.253
/etc/proftpd.vhosts.conf : 216.244.65.188 -> 64.120.5.253
/etc/hosts : 216.244.65.188 -> 64.120.5.253
/usr/local/directadmin/scripts/setup.txt : 216.244.65.188 -> 64.120.5.253
/usr/local/directadmin/data/admin/ip.list : 216.244.65.188 -> 64.120.5.253
/usr/local/directadmin/data/admin/show_all_users.cache : 216.244.65.188 -> 64.120.5.253
ls: /usr/local/directadmin/data/users/users: No such file or directory
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/emulysianfields.com.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/sonata.emulysianfields.com.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
/var/named/xxx.db : 216.244.65.188 -> 64.120.5.253
*** Done swapping 216.244.65.188 to 64.120.5.253 ***
This could mean the IPs don't exist on your server
As far as I can tell from ifconfig above, they do. Right?
According to the Service Monitor in DA: named named (pid 3299 )
And:
Code:
[xxx@sonata scripts]# ps aux | grep named
named 3299 0.0 0.5 70808 4124 ? Ssl 05:07 0:13 named -u named
xxx 13401 0.0 0.0 3188 748 pts/0 S+ 17:55 0:00 grep named
This could mean the IPs don't exist on your server, named isn't running, or there is a firewall blocking port 53.
I did not think to check that! I'm still learning linux, I thought iptables was more like some sort of routing thing.
I figured your first line was a typo, but, I tried it just in case. It didn't work, so, I took out the "s" (The idea of horses having something to do with IPs amuses me, though).
Code:
[xxx@sonata scripts]# /sbin/service ipstables stop
ipstables: unrecognized service
[xxx@sonata scripts]# /sbin/service iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: mangle filter nat [ OK ]
Unloading iptables modules: [ OK ]
[xxx@sonata scripts]# /sbin/chkconfig iptables off
Hopefully that was it, but, the IPs are still showing up as error'd in IP Management and Reseller level > Nameservers . I *think* I could fix them, but I don't know if the correct thing to do would be to edit the files in /usr/local/directadmin/data/admin/ips/ to what I think they should have or not. From the ifconfig output, I think the subnet masks should be 255.255.255.255 , but I wouldn't know what to change value, reseller, or gateway to.
Thanks very much for your help, John. =]