DNS Zone File Syntax Highlighting with highlight.js

We just added DNS zone file syntax highlighting to our site. Heres’ an example:

$ORIGIN example.com
@       IN      SOA     ns1.example.com.      root.example.com. (
                                              2015071101
                                              14400
                                              3600
                                              1209600
                                              86400 )
@      NS  ns1.isp.com.
@      NS  ns2.isp.com.

@      A   192.168.0.2
mail   A   192.168.0.3

@      MX  10 mail.example.com.

The syntax highlighting is being done using highlight.js.

If you’re interested in trying out highlight.js, you can download it, or use one of the CDNs listed on their download pages.

The CDNs listed on their download page provide support for the 22 most commonly highlighted languages. Unfortunately, DNS zone files didn’t make the cut, so we’ve posted a copy to CloudFlare’s CDN that you’re welcome to use. This copy includes support for the 22 most commonly highlighted languages, plus DNS zone files.

Continue reading DNS Zone File Syntax Highlighting with highlight.js »

New DNS Record History Button

We just added a new feature which allows you to view the past 30 days of state changes for any DNS record. A state change occurs any time a DNS record’s status changes from passing to failing, or vice versa.

Viewing a DNS record’s state change history can be useful for identifying and resolving DNS record flapping issues. It can also be useful for identifying what happened if a problem appears to fix itself before you investigate it.

You can see a live example of this by going to the Example DNS Check, then clicking on the (View History) button next to any DNS record:

View DNS Record History

Continue reading New DNS Record History Button »

Subscribe via RSS