bind
Differences
This shows you the differences between two versions of the page.
| bind [2026/03/01 20:24] – created reddy | bind [2026/03/16 17:50] (current) – reddy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Minimal Config ===== | ===== Minimal Config ===== | ||
| - | named.conf | + | /etc/named.conf |
| < | < | ||
| Line 20: | Line 20: | ||
| </ | </ | ||
| - | db.example_local | + | db.example_local |
| < | < | ||
| Line 32: | Line 32: | ||
| The DNS spec needs 2 servers. | The DNS spec needs 2 servers. | ||
| + | However, SOA is sometimes a nameserver followed by an email address (with " | ||
| + | |||
| + | ===== nslookup command ===== | ||
| + | |||
| + | Examples | ||
| + | |||
| + | < | ||
| + | # Non-interactive | ||
| + | nslookup cnn.com | ||
| + | nslookup -querytype=A cnn.com 8.8.8.8 | ||
| + | nslookup -querytype=CNAME www.cnn.com 8.8.8.8 | ||
| + | |||
| + | # Interactive | ||
| + | nslookup | ||
| + | > set type=srv | ||
| + | > _mongodb._tcp.dev.pockettheories.com | ||
| + | </ | ||
| ===== Dig command ===== | ===== Dig command ===== | ||
| + | |||
| + | Examples | ||
| < | < | ||
| + | dig cnn.com | ||
| + | dig cname www.cnn.com @8.8.8.8 | ||
| + | dig srv _mongodb._tcp.dev.pockettheories.com @mydns.pockettheories.com | ||
| + | |||
| # dig @ | # dig @ | ||
| dig @8.8.8.8 cnn.com | dig @8.8.8.8 cnn.com | ||
bind.txt · Last modified: by reddy
