Re: Promoting a slave to master gives syntax error

2014-04-29 Thread Theodotos Andreou
The original server servers as primary DNS for our AD infrastructure. This could be one explanation about these peculiarities. But since the source DNS is tuned no to complain about strange names I prefer to have a similar configuration on the clone. On 04/29/2014 04:17 PM, Sten Carlsen wrote:

Re: Promoting a slave to master gives syntax error

2014-04-29 Thread Theodotos Andreou
On 04/29/2014 03:31 PM, Tony Finch wrote: Theodotos Andreou wrote: Now I have a different problem. After converting alll the zones to master many zones failed to load because of this: 29-Apr-2014 11:21:32.613 dns_rdata_fromtext: db.0.210.10.in-addr.arpa:26: near 'android_b2b2b8cdeedf92d3.exam

Re: Promoting a slave to master gives syntax error

2014-04-29 Thread Sten Carlsen
You might want to look at the output of: dig axfr example.com This gives also the contents of the zone, nicely sorted but with an added SOA at the end. I would suggest to use it for comparison with the files to look for some of those interesting endings (~~.com\032.) Those really look odd to me.

Re: Promoting a slave to master gives syntax error

2014-04-29 Thread Tony Finch
Theodotos Andreou wrote: > > Now I have a different problem. After converting alll the zones to master many > zones failed to load because of this: > > 29-Apr-2014 11:21:32.613 dns_rdata_fromtext: db.0.210.10.in-addr.arpa:26: > near 'android_b2b2b8cdeedf92d3.example.com.': bad name (check-names)

Re: Promoting a slave to master gives syntax error

2014-04-29 Thread Theodotos Andreou
Thanks for the tip Mark. Now all the zone files are cached as text. Now I have a different problem. After converting alll the zones to master many zones failed to load because of this: # grep example.com /var/log/syslog 29-Apr-2014 11:21:32.613 dns_rdata_fromtext: db.0.210.10.in-addr.arpa:26:

Re: Promoting a slave to master gives syntax error

2014-04-28 Thread Mark Andrews
Set the masterfile-format. Slaves default to raw, masters default to text. masterfile-format ( text | raw ); Mark In message <535f4bb2.6000...@theo-andreou.org>, Theodotos Andreou writes: > Hello to all, > > I have a task to clone a black box IPAM to a bind DNS

Promoting a slave to master gives syntax error

2014-04-28 Thread Theodotos Andreou
Hello to all, I have a task to clone a black box IPAM to a bind DNS server. Actually the black box is using bind in the backend but the manufacturer does not provide any shell access. Only a crappy GUI. So I do not have access to the text zone files. Just the GUI. In order to clone all the z