This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dig +nssearch int | |
SOA sns.dns.icann.org. noc.dns.icann.org. 2024030132 3600 1800 604800 3600 from server 137.39.1.3 in 0 ms. | |
SOA sns.dns.icann.org. noc.dns.icann.org. 2024030137 3600 1800 604800 3600 from server 199.43.133.53 in 12 ms. | |
SOA sns.dns.icann.org. noc.dns.icann.org. 2024030137 3600 1800 604800 3600 from server 199.43.135.53 in 12 ms. | |
SOA sns.dns.icann.org. noc.dns.icann.org. 2024030137 3600 1800 604800 3600 from server 2001:500:8d::53 in 12 ms. | |
SOA sns.dns.icann.org. noc.dns.icann.org. 2024030137 3600 1800 604800 3600 from server 2001:500:8f::53 in 12 ms. | |
SOA sns.dns.icann.org. noc.dns.icann.org. 2024030137 3600 1800 604800 3600 from server 199.43.134.53 in 16 ms. | |
SOA sns.dns.icann.org. noc.dns.icann.org. 2024030137 3600 1800 604800 3600 from server 2001:500:8e::53 in 48 ms. | |
SOA sns.dns.icann.org. noc.dns.icann.org. 2024030137 3600 1800 604800 3600 from server 2001:67c:e0::4 in 84 ms. | |
SOA sns.dns.icann.org. noc.dns.icann.org. 2024030137 3600 1800 604800 3600 from server 193.0.9.4 in 88 ms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dpkg -l bind9 | |
Desired=Unknown/Install/Remove/Purge/Hold | |
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend | |
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | |
||/ Name Version Architecture Description | |
+++-==============-==================-============-================================= | |
ii bind9 1:9.18.18-0ubuntu2 amd64 Internet Domain Name Server | |
$ named -V | |
BIND 9.18.18-0ubuntu2-Ubuntu (Extended Support Version) <id:> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🔒 ai. 3232 MX 10 mail.offshore.ai. | |
🔓 gt. 14400 MX 10 aspmx.l.google.com. | |
🔓 gt. 14400 MX 20 alt1.aspmx.l.google.com. | |
🔓 gt. 14400 MX 20 alt2.aspmx.l.google.com. | |
🔓 gt. 14400 MX 30 aspmx2.googlemail.com. | |
🔓 gt. 14400 MX 30 aspmx4.googlemail.com. | |
🔓 gt. 14400 MX 30 aspmx5.googlemail.com. | |
🔒 ws. 21600 MX 10 mail.worldsite.ws. | |
🔒 ua. 18081 MX 10 mr.kolo.net. | |
🔒 hr. 7200 MX 5 alpha.carnet.hr. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_checkSudo() { | |
if [ -z "__INTERACTIVE" ]; then | |
#don't check if it's not in an interactive shell | |
return 0 | |
fi | |
if [ "$SUDO_GID" ] && [ "$SUDO_COMMAND" ] && [ "$SUDO_USER" ] && [ "$SUDO_UID" ]; then | |
if [ "$SUDO_USER" = "root" ] && [ "$SUDO_UID" = "0" ]; then | |
#it's root using sudo, no matter it's using sudo or not, just fine | |
return 0 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dig +dnssec +norecurse @av2.nstld.com blog.verisign.com | |
; <<>> DiG 9.19.13-1+ubuntu20.04.1+isc+1-Ubuntu <<>> +dnssec +norecurse @av2.nstld.com blog.verisign.com | |
; (2 servers found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27084 | |
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 5, ADDITIONAL: 7 | |
;; OPT PSEUDOSECTION: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dig +dnssec +norecurse +nsid @c.in-addr-servers.arpa 74.in-addr.arpa | |
; <<>> DiG 9.19.10-1+ubuntu20.04.1+isc+2-Ubuntu <<>> +dnssec +norecurse +nsid @c.in-addr-servers.arpa 74.in-addr.arpa | |
; (2 servers found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56431 | |
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 8, ADDITIONAL: 1 | |
;; OPT PSEUDOSECTION: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mtr -brwz d0.org.afilias-nst.org | |
Start: 2022-09-07T01:55:07+0000 | |
HOST: ultimate Loss% Snt Last Avg Best Wrst StDev | |
1. AS63949 2600:3c02::1 0.0% 10 0.6 0.8 0.5 2.1 0.5 | |
2. AS63949 2600:3c0f:4:35::3 0.0% 10 0.4 0.6 0.4 1.7 0.4 | |
3. AS??? fd04:1:1eaf:3:1::1 0.0% 10 3.4 2.6 0.6 9.7 2.9 | |
4. AS??? fd04:1:b:2:1::2 0.0% 10 0.5 1.6 0.4 10.3 3.1 | |
5. AS20940 ae45.r12.atl01.ien.netarch.akamai.com (2600:1488:a1c0::18) 0.0% 10 0.5 1.1 0.5 3.6 1.1 | |
6. AS20940 ae8.r02.atl01.icn.netarch.akamai.com (2600:1488:a1c0:405::a) 0.0% 10 0.6 0.8 0.6 1.6 0.3 | |
7. AS20940 ae10.r01.dfw01.icn.netarch.akamai.com (2600:1488:5fc3:52::a) 0.0% 10 65.7 46.4 19.0 137.2 36.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dig @e.fi -4 +dnssec +norecurse +nsid fi soa | |
; <<>> DiG 9.19.4-1+ubuntu20.04.1+isc+1-Ubuntu <<>> @e.fi -4 +dnssec +norecurse +nsid fi soa | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20518 | |
;; flags: qr aa; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 | |
;; OPT PSEUDOSECTION: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mnordhoff@ultimate:~$ for i in 139.162.130.5 139.162.131.5 139.162.132.5 139.162.133.5 139.162.134.5 139.162.135.5 139.162.136.5 139.162.137.5 139.162.138.5 139.162.139.5 2a01:7e01::5 2a01:7e01::9 2a01:7e01::7 2a01:7e01::c 2a01:7e01::2 2a01:7e01::4 2a01:7e01::3 2a01:7e01::6 2a01:7e01::b 2a01:7e01::8; do echo $i; dig +vc +timeout=2 +tries=2 example.com @$i; done | |
139.162.130.5 | |
;; Connection to 139.162.130.5#53(139.162.130.5) for example.com failed: timed out. | |
;; Connection to 139.162.130.5#53(139.162.130.5) for example.com failed: timed out. | |
139.162.131.5 | |
;; Connection to 139.162.131.5#53(139.162.131.5) for example.com failed: timed out. | |
;; Connection to 139.162.131.5#53(139.162.131.5) for example.com failed: timed out. | |
139.162.132.5 | |
; <<>> DiG 9.19.2-1+ubuntu20.04.1+isc+1-Ubuntu <<>> +vc +timeout +tries example.com @139.162.132.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thu 07 Apr 2022 06:32:36 PM UTC | |
dig +dnssec response sizes for every TLD. PowerDNS Recursor. | |
Some are NODATA. One (xn--mgbai9azgqp6j) was probably SERVFAIL. | |
1 46 | |
2 75 | |
2 76 | |
2 78 |
NewerOlder