Name Servers doesn't work fine!!!

Cyber-DL

Verified User
Joined
Jun 21, 2008
Messages
48
i was created a vps with these ips :
76.73.91.247
76.73.85.235

and installed DA & ...... .

but in HyperVM panel i removed this ip and add new ip
76.73.91.237 and 76.73.91.238 and after that i changed ips from License panel & by Da scripts like Swap IP i changed my IPs and add my NS1 and NS2 with New IP (76.73.91.237 and 76.73.91.238 )

but i has a problem , my Netmask in IP Management was 76.73.91.247 and my sites doesn't works , after that i change my Netmask to 76.73.91.237 (new ip and this netmask is same with my premier ip ) , and my Name Servers doesn't work fine , i think it's about this ip changing OR My premier ip Netmask ,

how can i know what is my netmask OR what should be my netmask ?

look at this checks in Host-tracker ,
Code:
http://host-tracker.com/check_res_ajx/2699692-0/
http://host-tracker.com/check_res_ajx/2699689-0/
http://host-tracker.com/check_res_ajx/2699695-0/
http://host-tracker.com/check_res_ajx/2699696-0/
http://host-tracker.com/check_res_ajx/2699699-0/

Best Regards
 
Last edited:
While in theory you should be able to figure out a netmask, networks are not always set up as they should be; you need to ask your upstream for the right way to set up your network.

Jeff
 
thanks jlasman for your respect ,

now i don't have any access to my Server Administrator to find out about netmask & other Configuration , so how can i set this settings to default ? is this possible ?

and i have big settings in my vps for Security , and other configs ,

can i create a new VPS & make a full backup from my VPS and then restore this backup ( must be contains my Users & my special configs and security settings ) to new VPS ?

best regards
 
hey jlasman i remembered a thing ,

my interface is venet0:0 but when i used this script
Code:
/usr/local/directadmin/scripts/startips
tell me :
Code:
SIOCADDRT: File exists
IP 76.73.91.238 already exists on eth0

so can you tell me what's happend Or if me install DirectAdmin again Or install Bind Again can these maybe useful ?

Best Regards
 
Do not install anything again. Installing DirectAdmin again will make your current users, sites, etc., on the server unusable. Installing BIND again will probably zero out all yor zonefiles.

All that error code means is that one of your IP#s is configured both by DirectAdmin and by your network scripts. It's a warning; not an error.

Check the files in your /usr/local/drectadmin/data/admin/ips directory; the files in that directory should have the following format:
Code:
gateway=
netmask=255.255.255.192
ns=
reseller=RESELLERNAME
status=owned
value=USERNAME
Or similar.

Check the netmask in any of these files and post the IP#s (from the filename) and the netmask (from the file contents), and post all of those. Note that all valid netmask values will begin with 255.

Jeff
 
hi,

these is my ips configiration files ,

[root@nvidia ips]# nano 76.73.91.237

Code:
gateway=
netmask=76.73.91.237  Mask
ns=
reseller=
status=server
value=33

and

[root@nvidia ips]# nano 76.73.91.238

Code:
gateway=
netmask=255.255.255.0
ns=
reseller=
status=free
value=


at last look at this :

Code:
[root@nvidia ips]# service network restart
Shutting down interface venet0:                            [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface venet0:  SIOCADDRT: Network is unreachable
SIOCADDRT: Network is unreachable
                                                           [  OK  ]

thank's for your respect
 
hey jlasman i solved Host-tracker Errors ,

i added name servers into ips now it works good , but in my network service i got problem ,

look :
Code:
[root@nvidia ips]# service network restart
Shutting down interface venet0:                            [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface venet0:  SIOCADDRT: Network is unreachable
SIOCADDRT: Network is unreachable
                                                           [  OK  ]
and in /etc/sysconfig/network-scripts it's my configuration :

[root@nvidia network-scripts]# nano ifcfg-venet0

Code:
DEVICE=venet0
BOOTPROTO=static
ONBOOT=yes
IPADDR=127.0.0.1
NETMASK=255.255.255.255
BROADCAST=0.0.0.0

is this remember any thing for you ? can this useful?
 
If venet0 is unreachable that's a problem with your vps. You need to work with your vps provider.

Jeff
 
Back
Top