User Tools

Site Tools


dns:dig

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dns:dig [2026/01/09 09:13] – [Zone Transfer by Dig] bstafforddns:dig [2026/01/30 16:02] (current) bstafford
Line 1: Line 1:
 ====== DIG ====== ====== DIG ======
 ===== Quick Dig ===== ===== Quick Dig =====
-<code>dig @ns1.google.com +short TXT o-o.myaddr.l.google.com</code> +<code>dig +short TXT o-o.myaddr.l.google.com @ns1.google.com</code>
-<code>dig +noall +answer +ttlunits @1.1.1.1 A www.example.com</code>+
 <code>dig +noall +answer +ttlunits A www.example.com @1.1.1.1</code> <code>dig +noall +answer +ttlunits A www.example.com @1.1.1.1</code>
 ===== Flags ===== ===== Flags =====
Line 54: Line 53:
 # Remove Lines containing "rpz.infoblox.local" (RPZ name) # Remove Lines containing "rpz.infoblox.local" (RPZ name)
 # Remove Lines containing "2000512" (tenant ID - only use with Infoblox RPZ feeds) # Remove Lines containing "2000512" (tenant ID - only use with Infoblox RPZ feeds)
-dig +noidnout axfr @$B1TD_SERVER $RPZ_FEED -y $KEY | awk -F ".$RPZ_FEED" '{print $1}' | sed '/^[[:space:]]*$/d' | sed '/^ *;/d' | grep -v rpz.infoblox.local | grep -v 2000512 > $OUTPUT_FILE</code>+dig +noidnout axfr @$B1TD_SERVER $RPZ_FEED -y $KEY | awk -F ".$RPZ_FEED" '{print $1}' | sed '/^[[:space:]]*$/d' | sed '/^ *;/d' | grep -v rpz.infoblox.local | awk -F ".rpz-ip" '{print $1}' | grep -v 2000512 > $OUTPUT_FILE</code>
  
 # The following version deletes lines starting with the character '*'. This is useful when you just want a list of domains rather than the actual list of domains (which includes the wildcard). # The following version deletes lines starting with the character '*'. This is useful when you just want a list of domains rather than the actual list of domains (which includes the wildcard).
-<code>dig +noidnout axfr @$B1TD_SERVER $RPZ_FEED -y $KEY | awk -F ".$RPZ_FEED" '{print $1}' | sed '/^[[:space:]]*$/d' | sed '/^ *;/d' | sed '/^\*.*$/d' | grep -v rpz.infoblox.local | grep -v 2000512 > $OUTPUT_FILE</code>+<code>dig +noidnout axfr @$B1TD_SERVER $RPZ_FEED -y $KEY | awk -F ".$RPZ_FEED" '{print $1}' | sed '/^[[:space:]]*$/d' | sed '/^ *;/d' | sed '/^\*.*$/d' | grep -v rpz.infoblox.local| grep -v 2000512 > $OUTPUT_FILE</code>
 The reason we include ''+noidnout'' is because we once got this error from suspicious feeds The reason we include ''+noidnout'' is because we once got this error from suspicious feeds
 <code>dig: 'xn--6g8haa.cf.domain.' is not a legal IDNA2008 name (string contains a disallowed character), use +noidnout</code> <code>dig: 'xn--6g8haa.cf.domain.' is not a legal IDNA2008 name (string contains a disallowed character), use +noidnout</code>
dns/dig.1767949995.txt.gz · Last modified: by bstafford