Hello,
I have a issue that started with a DNS template. The DNS templaced had an include in the TXT for SPF that should not be there.
There are hundreds of DNS zones in the cluster. I do not want to manually edit each zone via the zone editor.
I have tried to do the following on each server in the cluster:
find /var/named -type f -print | xargs sed -i 's/include:example.net/ip4:123.456.789.123/g'
Then check:
grep -r "include:example.net" /var/named/*
Then restart named.
Then recheck:
grep -r "include:example.net" /var/named/*
I do this on all servers in the DNS cluster.
Even lookup a few public TXT records for zones that are effected. They look good.
Then, if I sync all zones to all servers even those not on this server, the zone entry "include:example.net" appears again in all zones on the server:
grep -r "include:example.net" /var/named/*
--
Not sure how to make this stick. Is there another location that DNS zones are held?
The process of find does look in cache folder and remove "include:example.net" from cache too.
It's like /var/named is not the master location for the DNS zones.
Can anyone point me in the right direction?
Thanks,
Mike
I have a issue that started with a DNS template. The DNS templaced had an include in the TXT for SPF that should not be there.
There are hundreds of DNS zones in the cluster. I do not want to manually edit each zone via the zone editor.
I have tried to do the following on each server in the cluster:
find /var/named -type f -print | xargs sed -i 's/include:example.net/ip4:123.456.789.123/g'
Then check:
grep -r "include:example.net" /var/named/*
Then restart named.
Then recheck:
grep -r "include:example.net" /var/named/*
I do this on all servers in the DNS cluster.
Even lookup a few public TXT records for zones that are effected. They look good.
Then, if I sync all zones to all servers even those not on this server, the zone entry "include:example.net" appears again in all zones on the server:
grep -r "include:example.net" /var/named/*
--
Not sure how to make this stick. Is there another location that DNS zones are held?
The process of find does look in cache folder and remove "include:example.net" from cache too.
It's like /var/named is not the master location for the DNS zones.
Can anyone point me in the right direction?
Thanks,
Mike
Last edited: