rDNS bulk
By Mr.Seiko on Dec 15, 2015 | In Uncategorized
We have a client that regularly requests large changes to rDNS records.
Today I got a request for over 60 records to be added 30 each for 2 different IP blocks.
The way we have been told to do these is from WHM, we can enter the PTR records for that DNS range 5 at a time.
I find this process to be slow and annoying.
The request comes in a list format, like
192.168.0.2 domain.example.com
192.168.0.3 domain2.example.com
Pasting the list into kWrite, a few Find/replaces later, specifically
Find '192.168.0.' Replace with ''
Find ' dom' Replace with ' 14400 IN PTR '
Find '.com' Replace with '.com.'
The resulting list of records can just be manually added directly into the named zone db file
vi /var/named/0.168.192.in.addr.arpa
and Just paste at the end, or replace existing records if it's an update instead of addition of new records.
From this point, to verify, I double checked the record in WHM Edit DNS to ensure that everything loaded properly, advanced the SN on the record and saved it just to ensure that the updated records are properly being served.
30+ minute process down to about 2-3 minutes.
Time well saved.
No feedback yet
| « Modifying DNS | What is "TheCrimsonHorror" » |