I'm having some issues with my dns lately.
Every nowadays, some of my clients zone files would be commented on my named.conf. No idea why.
It also seems like my named.conf is getting untidy.
Here's a snipplet.
All new zone files created will automatically be created in that format. one line with comments. No idea why.
Is there anyway to rebuild my named.conf?
Every nowadays, some of my clients zone files would be commented on my named.conf. No idea why.
It also seems like my named.conf is getting untidy.
Here's a snipplet.
Code:
zone "x" {type master; file "/var/named/x"; notify yes; also-notify {x;} ;};
zone "x" {type master; file "/var/named/x.com.db"; notify yes; also-notify {x;} ;};
zone "x" {type master; file "/var/named/x.com.db"; notify yes; also-notify {x;} ;};
#here's where it starts to get untidy, notice how it scrolls. No idea why.
#zone "x.org" { type master; file "/var/named/x.org.db"; };
zone "x.org" { type master; file "/var/named/x.org.db"; notify yes; also-notify {x;}; };#zone "x" { type master; file "/var/named/x.db"; };
zone "x" { type master; file "/var/named/x.com.db"; notify yes; also-notify {x;}; };#zone "x.com" { type master; file "/var/named/x.com.db"; };
zone "x.com" { type master; file "/var/named/x.com.db"; notify yes; also-notify {x;}; };#zone "s.org" { type master; file "/var/named/s.org.db"; };
zone "s.org" { type master; file "/var/named/s.org.db"; notify yes; also-notify {x;}; };#zone "s.sg" { type master; file "/var/named/s.sg.db"; };
zone "s.sg" { type master; file "/var/named/s.sg.db"; notify yes; also-notify {x;}; };#zone "s.com.sg" { type master; file "/var/named/s.com.sg.db"; };
All new zone files created will automatically be created in that format. one line with comments. No idea why.
Is there anyway to rebuild my named.conf?