ba6536a3c06fee164f2b149d24c2faa0014fb6c6
Services-Whois.md
| ... | ... | @@ -36,6 +36,15 @@ Another visualisation shows the prefixes seen by BGP: http://dataviz.polynome.dn |
| 36 | 36 | ```sh |
| 37 | 37 | whois -h $host $query |
| 38 | 38 | ``` |
| 39 | +### Using a whois config |
|
| 40 | +```sh |
|
| 41 | +$ cat /etc/whois.conf |
|
| 42 | +\.dn42$ 172.22.177.77 |
|
| 43 | +\-DN42$ 172.22.177.77 |
|
| 44 | +as[64512-65534] 172.22.177.77 |
|
| 45 | +as[76100-76199] 172.22.177.77 |
|
| 46 | +``` |
|
| 47 | +You can then use whois without specifying the server. |
|
| 39 | 48 | |
| 40 | 49 | ### Running your own whoisd |
| 41 | 50 | ```sh |