The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

notes on updating DNS info with bind DNS

Posted by jpluimers on 2023/12/01

Steps:

  1. Edit the DNS zone file in /var/lib/named/master
  2. Make sure you updated the SOA serial number
  3. rcnamed restart
  4. Watch /var/lib/named/log/general for errors (you can even increase logging, for instance by reading [Wayback/Archive] this serverfault entry and editing /etc/named.d/logging) and – on my system – these other logs for the actual zone transfers:
    • /var/lib/named/log/in-xfer.log for incoming zone transfers on the secondary server
    • /var/lib/named/log/notify.log for notifications of zone transfers on the primary and secondary servers
    • /var/lib/named/log/out-xfer.log for outgoing zone transfers on the primary server
  5. Check on [Wayback/Archive] mxtoolbox.com/SuperTool.aspx?action=dns:example.org&run=toolpage# to see if the SOA serials have been replicated (one day I will write a bookmarklet for this)

Alternatives for the last step are sites like these:

I got the above mxtoolbox Supertool links via [Wayback/Archive] Contoso.one: Setting up email for Brand Protection domains (which I found via [Archive] mxtoolbox supertool “parameter” get – Google Search) who described how he scripted them and also included a subset of the below prefixes.

So for instance, in stead of DNS, you can check for MX using [Wayback/Archive] mxtoolbox.com/SuperTool.aspx?action=mx:example.org&run=toolpage#

All mxtoolbox Supertool prefixes are in the table at [Wayback/Archive] Network Tools: DNS,IP,Email:

Command Explanation
blacklist: Check IP or host for reputation
smtp: Test mail server SMTP (port 25)
mx: DNS MX records for domain
a: DNS A record IP address for host name
spf: Check SPF records on a domain
txt: Check TXT records on a domain
ptr: DNS PTR record for host name
cname: DNS canonical host name to IP address
whois: Get domain registration information
arin: Get IP address block information
soa: Get Start of Authority record for a domain
tcp: Verify an IP Address allows tcp connections
http: Verify a URL allows http connections
https: Verify a URL allows secure http connections
ping: Perform a standard ICMP ping
trace: Perform a standard ICMP trace route
dns: Check your DNS Servers for possible problems

Related blog posts:

–jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.