Skip to content

Instantly share code, notes, and snippets.

@biinari
Last active February 8, 2023 14:23
Show Gist options
  • Star 23 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save biinari/faed94e70197e129b2dee57bdab20084 to your computer and use it in GitHub Desktop.
Save biinari/faed94e70197e129b2dee57bdab20084 to your computer and use it in GitHub Desktop.
Script to extract the DNS entries from 123-reg advanced dns page
// Moved to a new home at https://github.com/biinari/zonefile-extract/tree/master/123-reg
@rorydonohue
Copy link

Many thanks for putting this together. As Rob mentioned those SPF records should be TXT to be compliant, also Reg123 don't appear to put TTLs on the form any more so I had to do a ttl = row.getElementsByClassName('dns_ttl')[0].innerText || 14400 to get around it.

@biinari
Copy link
Author

biinari commented Nov 5, 2019

Thanks @robwithhair and @rorydonohue for your suggestions. I've moved this to a proper github repo at https://github.com/biinari/zonefile-extract so that any future changes can be contributed as pull requests.

Also thanks everyone for the supportive comments, I really wasn't aware this was going to be useful for so many other people.

@tdchien
Copy link

tdchien commented Feb 12, 2020

Many thanks

@rbenet-lifesize
Copy link

Brilliant ! Thanks !

@justJackjon
Copy link

Legend! 👏

@lindleycb
Copy link

Genious. Just saved me loads of time and without having to hand over passwords etc. to a script off the internet. Simple but extremely effective. Many thanks! 👏

@Jamiewarb
Copy link

Thank you you legend

@w5m
Copy link

w5m commented Feb 8, 2023

Many thanks for sharing. This is a real timesaver 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment