config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

dig-ip (266B)


      1 #!/bin/sh
      2 
      3 echo "GOOGLE"
      4 dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com
      5 dig -6 TXT +short o-o.myaddr.l.google.com @ns1.google.com
      6 
      7 echo "OPENDNS"
      8 dig A +short myip.opendns.com @resolver1.opendns.com
      9 dig AAAA +short myip.opendns.com @resolver1.opendns.com