Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
pihole_local_dns [2018/06/01 18:01] warmachine created |
pihole_local_dns [2019/03/28 19:33] (current) warmachine |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| 1. ssh to your pi-hole server\\ | 1. ssh to your pi-hole server\\ | ||
| 2. use nano to edit the dnsmasq: \\ | 2. use nano to edit the dnsmasq: \\ | ||
| - | //sudo nano / | + | <color #22b14c>sudo nano / |
| 3. add the dns entry in the following format:\\ | 3. add the dns entry in the following format:\\ | ||
| - | //address=/ | + | <color #22b14c>address=/ |
| - | \\ | + | |
| some examples from my network:\\ | some examples from my network:\\ | ||
| - | \\ | + | |
| - | address=/ | + | <color #22b14c>address=/ |
| - | address=/ | + | address=/ |
| - | \\ | + | |
| - | 4. restart the dnsmasq service: | + | 4. exit and save the file (control X, then Y)\\ |
| - | //service dnsmasq restart//\\ | + | 5. restart the dnsmasq service: |
| - | \\ | + | <color #22b14c>service dnsmasq restart</color>\\ |
| + | |||
| + | **this has been replaced by <color # | ||
| If you want to create cnames, you can utilize the same method, the config file does not care how many hostnames point to the same IP:\\ | If you want to create cnames, you can utilize the same method, the config file does not care how many hostnames point to the same IP:\\ | ||
| - | \\ | + | |
| - | #cnames\\ | + | <color #22b14c>#cnames\\ |
| address=/ | address=/ | ||
| - | address=/ | + | address=/ |
| - | \\ | + | |
| This is especially useful if you have a proxy server, as you can direct multiple hostnames to the proxy server' | This is especially useful if you have a proxy server, as you can direct multiple hostnames to the proxy server' | ||
| - | \\ | + | |
| - | #reverse proxy pre-requisites\\ | + | <color #22b14c>#reverse proxy pre-requisites\\ |
| address=/ | address=/ | ||
| address=/ | address=/ | ||
| address=/ | address=/ | ||
| address=/ | address=/ | ||
| - | address=/ | + | address=/ |
| + | |||
| + | More on this on my Proxy Server guide. \\ | ||
| + | |||
| + | Also note here I'm using violet.com **//not//** iViolet.net. This is an important distinction as I do not own violet.com (too rich for my blood), so when forwarding to this address internally, | ||
| + | |||
| + | It's recommended you choose something you don't intend to use, or even better, an external/ | ||
| + | |||
| + | --Brian | ||
| + | |||
| + | ~~DISCUSSION~~ | ||
Last modified: le 2018/06/01 18:01
