buymeasoda RefDocs
  • Overview
  • General
    • Android
    • Apache
    • Fish
    • Git
    • Github
    • Gmail
    • Homebrew
    • iOS
    • iTerm
    • MacOS
    • MacPorts
    • Mamp
    • Media
    • Mercurial
    • MySQL
    • Node
    • npm
    • nvm
    • Obsidian
    • PHP
    • React Native
    • Rust
    • Server
    • Slack
    • Sourcegraph
    • Tools
    • Vim
    • VS Code
    • Yarn
  • Unix
    • Checksum and hash utilities
    • Command line history
    • Command line keyboard shortcuts
    • Compress files and folders
    • Crontab
    • Diff files and folders
    • Disk usage and file sizes
    • Find and search files
    • Firewall configuration
    • Help and manual pages
    • HostName and Local HostName for Mac OSX
    • Navigating the file system
    • Network, domains and routing
    • Run and manage background tasks
    • Secure FTP SFTP and Secure Copy SCP
    • Secure Shell SSH
    • Sync files and folders
    • System and process management
    • System and user information
    • Useful characters
    • Useful commands
    • User, file and group permissions
    • Working with cURL
    • Working with files and directories
    • Working with text
Powered by GitBook
On this page
  • Domains
  • DNS Records
  • Name Servers
  • Web Browsers
  1. Unix

Network, domains and routing

Send request to network host to trigger response (limit count via -c)

ping <domain>
ping -c <count> <host>

Show internet route to host

traceroute <host>

Network protocol status (limit to specific protocol -p eg. tcp, udp)

netstat
netstat -p <protocol>

Domains

Show registration details for domain

whois <domain>

DNS Records

Show basic (and expanded using any) DNS records for domain (Note: any may be disabled by the DNS provider)

dig <domain>
dig <domain> any

Show specific DNS records for domain (eg. A, MX, NS)

dig <record-type> <domain>

Alternative DNS lookup utility to dig

host -a <domain>
nslookup -q=<record-type> <domain>

Name Servers

Show authoritative name servers for domain (+short for minimal output)

dig NS <domain>
dig +short NS <domain>

Alternative name server lookup utility to dig

host -t NS <domain>
nslookup -q=NS <domain>

Web Browsers

Clear stale DNS cache in chrome (Open Chrome DNS settings -> Clear host cache)

chrome://net-internals/#dns

Chrome Net Internals can also show the DNS entries for specific domains

PreviousNavigating the file systemNextRun and manage background tasks

Last updated 1 year ago