Saturday, September 30, 2017

Check the SOA Serial Number on NS Servers

If you manage a DNS master, and push zones to several slaves / secondaries, you may have found that over time — as configuration files and firewall rules change — one or more slaves may have lost its ability to update its zone files. Perhaps the slave is no longer being notified, or it may have lost the necessary zone transfer permissions from the master. In a large distributed environment where DNS changes are frequent, checking the SOA serial number for all the NS servers in a zone can be quite helpful — a quick way to eliminate the DNS as a possible source of a problem. Here is a perl script I wrote a few years back to retrieve the SOA serial number for a given domain.

AI fragmentação de linhas com múltiplas pontuacoes e prompt \n para gerar 50000 strings com quebra e AI esquecer funções

  import re def fragmentar_logico_50000_pontuacao_e_n(texto):     # 1) Fragmentação por múltiplas pontuações (sem remover espaços)     padra...