Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dns [2008/09/13 23:06] greebo |
dns [2016/03/07 12:12] (current) zagi |
||
|---|---|---|---|
| Line 24: | Line 24: | ||
| * [[dns: | * [[dns: | ||
| + | |||
| + | ===== dig ===== | ||
| + | ~./digrc | ||
| + | +nostats +nocomments +nocmd +noquestion +recurse | ||
| + | |||
| + | |||
| + | |||
| + | ===== Speeding Up DNS Access In Regions With Very Low Infrastructure (pdnsd) ===== | ||
| + | |||
| + | | ||
| + | |||
| + | <code |/ | ||
| + | START_DAEMON=yes | ||
| + | </ | ||
| + | |||
| + | <code |/ | ||
| + | global { | ||
| + | perm_cache=2048; | ||
| + | cache_dir="/ | ||
| + | max_ttl=604800; | ||
| + | run_as=" | ||
| + | paranoid=on; | ||
| + | status_ctl=on; | ||
| + | server_port=53; | ||
| + | server_ip=" | ||
| + | } | ||
| + | |||
| + | # server { | ||
| + | # label=" | ||
| + | # ip = 208.67.220.220, | ||
| + | #} | ||
| + | |||
| + | server { | ||
| + | ip=" | ||
| + | timeout=60; | ||
| + | interval=900; | ||
| + | uptest=none; | ||
| + | ping_timeout=500; | ||
| + | purge_cache=off; | ||
| + | caching=on; | ||
| + | } | ||
| + | |||
| + | server { | ||
| + | label=" | ||
| + | } | ||
| + | source { | ||
| + | ttl=86400; | ||
| + | owner=" | ||
| + | serve_aliases=on; | ||
| + | file="/ | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <code |/ | ||
| + | nameserver 127.0.0.1 | ||
| + | </ | ||
| + | |||
| + | If your PC gets its nameserver from a DHCP server, you will need to reconfigure dhclient.conf to make 127.0.0.1 your primary domain server. | ||
| + | |||
| + | Here is the file you need to edit: ''/ | ||
| + | |||
| + | | ||
| + | |||
| + | If you got the static ip address, in this case you just need to edit your ''/ | ||
| + | |||
| + | | ||
| Line 37: | Line 103: | ||
| spoof warn | spoof warn | ||
| reorder on | reorder on | ||
| + | |||
| + | ===== Reverse whois lookups ===== | ||
| + | |||
| + | If we want to check the whois info for a reverse zone, a special whois lookup is requred. | ||
| + | For example, if we have the network 212.18.32.0/ | ||
| + | whois query would be performed: | ||
| + | |||
| + | < | ||
| + | whois -h whois.ripe.net 32.18.212.in-addr.arpa | ||
| + | </ | ||
| + | |||
| + | or\\ | ||
| + | |||
| + | < | ||
| + | telnet whois.ripe.net 43 | ||
| + | 32.18.212.in-addr.arpa | ||
| + | </ | ||
| + | |||
| + | [[spam|DNS greylisting]] | ||
| + | |||
| + | [http:// | ||
| + | |||

