Dannik
Verified User
Hi,
I am running 2 servers using DirectAdmin. As the hardware of the first server is getting old and the second one is new I want to transfer all account from server 1 to server 2. I'm doing this by making admin backups on server 1 and restoring them on server 2.
Server 2 uses different nameservers. Let's say the namerservers on server 1 are ns1. and ns2.mydomain.tld and on server 2 they are ns3. and ns4.mydomain.tld. These settings are done in both admin and reseller levels where appropriate.
After restoring I needed to change some DNS-setting, on user-level, like the nameservers. All DNS information is correct and works as expected. So no problem here (I used user-level because some accounts contain multiple domains and this works faster).
However, I noticed not al settings were changed correctly! When I edit the transferred accounts (reseller-lever, list users, click one) I can see all settings for these account, including the nameservers. However, these are incorrect! It still shows ns1. and ns2. instead of ns3. and ns4.
How is this possible?
Second thing (and this is even worse): when I want to change these setting I get an ugly error (copied from the system log):
Unable to save zone domain.tld: named-zonecheck returned:
loading "domain.tld" from "/var/named/domain.tld.db.temp" class "IN"
dns_master_load: /var/named/domain.tld.db.temp:18: empty label
zone domain.tld/IN: loading from master file /var/named/domain.tld.db.temp failed: empty label
zone domain.tld/IN: not loaded due to errors.
Fortunately the information appears to be updated when reloading the user information.
When playing around with it I discovered the error only appears when nameserver1 is changed. When changing only nameserver2 it says ok. Also, it keeps giving the errors when editing for a second of third time.
What makes it really strange: when I entered the DNS settings (on admin level) I noticed the nameservers were quite a bit of a mess (multiple namerservers, old and new). After correcting this (leaving only 1 nameserver) and returning to the user information, I could change the nameservers without any error and DNS information now keeps correct! So somehow some setttings seem to bee blocked or something?
When I restore a backup and directly change only the nameservers in the account-information screen everything seems to work without errors.
Danny
I am running 2 servers using DirectAdmin. As the hardware of the first server is getting old and the second one is new I want to transfer all account from server 1 to server 2. I'm doing this by making admin backups on server 1 and restoring them on server 2.
Server 2 uses different nameservers. Let's say the namerservers on server 1 are ns1. and ns2.mydomain.tld and on server 2 they are ns3. and ns4.mydomain.tld. These settings are done in both admin and reseller levels where appropriate.
After restoring I needed to change some DNS-setting, on user-level, like the nameservers. All DNS information is correct and works as expected. So no problem here (I used user-level because some accounts contain multiple domains and this works faster).
However, I noticed not al settings were changed correctly! When I edit the transferred accounts (reseller-lever, list users, click one) I can see all settings for these account, including the nameservers. However, these are incorrect! It still shows ns1. and ns2. instead of ns3. and ns4.
How is this possible?
Second thing (and this is even worse): when I want to change these setting I get an ugly error (copied from the system log):
Unable to save zone domain.tld: named-zonecheck returned:
loading "domain.tld" from "/var/named/domain.tld.db.temp" class "IN"
dns_master_load: /var/named/domain.tld.db.temp:18: empty label
zone domain.tld/IN: loading from master file /var/named/domain.tld.db.temp failed: empty label
zone domain.tld/IN: not loaded due to errors.
Fortunately the information appears to be updated when reloading the user information.
When playing around with it I discovered the error only appears when nameserver1 is changed. When changing only nameserver2 it says ok. Also, it keeps giving the errors when editing for a second of third time.
What makes it really strange: when I entered the DNS settings (on admin level) I noticed the nameservers were quite a bit of a mess (multiple namerservers, old and new). After correcting this (leaving only 1 nameserver) and returning to the user information, I could change the nameservers without any error and DNS information now keeps correct! So somehow some setttings seem to bee blocked or something?
When I restore a backup and directly change only the nameservers in the account-information screen everything seems to work without errors.
Danny