shared reseller ip gives dns error bad dotted quad

xema

Verified User
Joined
Oct 9, 2007
Messages
13
Hi,

So I have this problem since today. Prior, all reseller had their a records listed with their assigned ip or the shared server ip. But now this has been changed to "shared" and when bind restart it gives an bad dotted quad error, obviously the word shared since that needs to be an ip.

It happens only on reseller level and happens to new resellers and when old resellers add a new domain. I already tried restoring named in /etc/init.d
 
Since there's no way to change DNS at the reseller level, I'm not sure what you mean.

The file /etc/init.d/named is simply a startup script.

Can you post one of your domain zone files from: /var/named/ ?

Jeff
 
Directadmin creates this in directadmin.

Code:
domain.com.	A	shared	
ftp	A	shared	
localhost	A	127.0.0.1	
mail	A	shared	
pop	A	shared	
smtp	A	shared	
www	A	shared	
domain.com.	NS	ns1.somedomain.	
domain.com.	NS	ns2.somedomain.	
mail	MX	10	
domain.com.	TXT	"v=spf1 a mx ip4:93.158.114.10 ~all"

and named gives the following errors.

Code:
dns_rdata_fromtext: /var/named/domain.com.db:20: near 'shared': bad dotted quad
dns_rdata_fromtext: /var/named/domain.com.db:21: near 'shared': bad dotted quad
dns_rdata_fromtext: /var/named/domain.com.db:23: near 'shared': bad dotted quad
dns_rdata_fromtext: /var/named/domain.com.db:24: near 'shared': bad dotted quad
dns_rdata_fromtext: /var/named/domain.com.db:25: near 'shared': bad dotted quad
dns_rdata_fromtext: /var/named/domain.com.db:26: near 'shared': bad dotted quad
zone domain.com/IN: loading master file /var/named/domain.com.db: bad dotted quad
_default/domain.com/IN: bad dotted quad

Code:
$TTL 14400
@       IN      SOA     ns1.kevlarhost.com.      hostmaster.domain.com. (
                                                2009080200
                                                14400
                                                3600
                                                1209600
                                                86400 )

domain.com.     14400   IN      NS      ns1.somedomain.
domain.com.     14400   IN      NS      ns2.somedomain.

domain.com.     14400   IN      A       shared
ftp     14400   IN      A       shared
localhost       14400   IN      A       127.0.0.1
mail    14400   IN      A       shared
pop     14400   IN      A       shared
smtp    14400   IN      A       shared
www     14400   IN      A       shared

domain.com.     14400   IN      MX      10 mail



domain.com.     14400   IN      TXT     "v=spf1 a mx ip4:93.158.114.10 ~all"

it's probably a config error but I can't find out which one as all reseller either have their own domain or use the server's shared one. I did do an yum update yesterday. Perhaps I need to reinstall named/bind?

When I delete the domain is gives this:

Code:
Domain Deletion Results

Details

Error deleting domain.com

Error removing site from IP file
domain.com's config files have been removed



Click HERE to go back.
 
Did you do something with the templates? Its writing "shared" where it is supposed to write the ip address.
 
No I didn't change the templates but maybe yum did? Is there any way getting the original templates back? Or reinstall named, I didn't see named the custombuild folder.
 
/usr/local/directadmin/data/templates/custom is empty. I can add new domains without this problems. It only affects resellers, not sure if it also occurs with new users besides resellers.
 
Many of us can probably figure it out but we would have to log into your server to do it. But that comes with a price.
 
u should try to do this fromr oot

echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue

/usr/local/directadmin/dataskq d

for rewrite ur named configurations
 
Back
Top