INT 21h

Select language

Migrate you DNS records from Bind (Named) into Selectel

№ 11982 В разделе Sysadmin от April 23rd, 2023,
В подшивках:

You want to migrate from your own DNS server (also known as Bind or Named) to Selectel cloud. Some DNS hosting services like dns.he.net also can export whole zone as Named format file. So convenient! But Selectel suggested python script not functional on my computer so I wrote my own converter on Golang.

At first step get API token in Selectel control panel. Next save your exported zone as file. Download release binary from https://git.blindage.org/21h/selectel-dns-bind-zone-upload to your home directory and make executable.

Some records you may not wanted to migrate, like NS or SOA, so edit your zone file before import or use special flags at run (see -help).

Sample import:

TOKEN=selectel_token_2342 ./selectel-dns-bind-zone-upload \
      -domain blindage.org -zonefile blindage.org.txt -includeNS

Supported record types at this moment:

  • A
  • AAAA
  • CNAME
  • TXT
  • NS
  • MX
  • SRV
  • SOA
  • SSHFP

PTR and others not listed here will be ignored.

https://git.blindage.org/21h/selectel-dns-bind-zone-upload

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Облачная платформа
Яндекс.Метрика

Fortune cookie: It's been so long since I made love I can't even remember who gets tied up. -- Joan Rivers