TCP 53: DNS
The Domain Name System is a hierarchical and decentralized naming system for computers, services, or other resources connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities.
-- Wikipedia
Host
Nameserver
host -t ns megacorpone.comMailserver
host -t mx megacorpone.comDomain
host www.megacorpone.comForward lookup
host <hostname>alpha.thinc.local has address <ip>#!/bin/bash
for name in $(cat list.txt); do
host $name.megacorpone.com | grep "has address" | cut -d" " -f1,4
doneReverse lookup
Zone transfer
A zone transfer is similar to a database replication act between related DNS servers. This process includes the copying of the zone file from a master DNS server to a slave server.
Alternative
Tools
DNSRecon
DNSenum
nslookup
Last updated