# New Pi-Hole questions

**URL:** <https://discourse.pi-hole.net/t/new-pi-hole-questions/3971>\
**Category:** General\
**Created:** [July 6, 2017, 12:26am UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971 "2017-07-06T00:26:41Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeffery\_Frederick](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jeffery_frederick/32/1652_2.png) [@Jeffery\_Frederick](https://discourse.pi-hole.net/u/Jeffery_Frederick)\
**Post date:** [July 6, 2017, 12:26am UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/1 "2017-07-06T00:26:42Z")

</div>

I am looking at adding a Pi-Hole to my home RPi network.

I was going to install DNSMasq on a Pi for internal home use. In looking at the Pi-Hole docs, it looks like Pi-Hole works in conjunction with DNSMasq and actually works better if both are installed on the same Pi. Is that correct?

I currently use my Router (an EdgeRouter X) for DNS and DHCP. Since it looks like I'll be using DNSMasq for Pi-Hole, should I go ahead and turn off both DNS and DCHP on the router and use the DNSMasq Instance on my Pi-Hole RPi?

I have been searching for some extensive documentation, but I don't see much. Is it REALLY that easy to install? How about configuration? Where can I find more details on that?

One more question. I have my one domain name registered and set up. I use a DynDns setup and currently have my Nextcloud instance working fine from both inside and outside. Any issues or things I need to think about the installing Pi-Hole in this enviornment?

Thanks for all your assistance!

---

<div class="post-metadata">

**Author:** ![jacob.salmela](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jacob.salmela/32/8_2.png) [@jacob.salmela](https://discourse.pi-hole.net/u/jacob.salmela)\
**Post date:** [July 6, 2017, 1:12am UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/2 "2017-07-06T01:12:57Z")

</div>

> [@Jeffery\_Frederick](#):
>
> Is it REALLY that easy to install?

**Yes**. Great time and dedication have been spent on our installation script to alleviate any burden on the user. Just run the installation command, answer some questions, and begin blocking ads in about 10 minutes.

> [@Jeffery\_Frederick](#):
>
> it looks like Pi-Hole works in conjunction with DNSMasq and actually works better if both are installed on the same Pi. Is that correct?

Pi-hole uses `dnsmasq` by default and is automatically installed during installation.

> [@Jeffery\_Frederick](#):
>
> I have been searching for some extensive documentation, but I don't see much

We have a large (and growing) repository of FAQs that we see users asking. I would [start there](https://discourse.pi-hole.net/c/faqs). If you feel something is lacking, please let us know directly and we will create some documentation for you.

> [@Jeffery\_Frederick](#):
>
> How about configuration?

There's not a whole lot to configure as--again--we have developed the installer to get most users up and running without the need to configure anything (except for [setting your network devices to use Pi-hole as their DNS server](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245)), but you will find several post-install settings on the dashboard's Settings page.

> [@Jeffery\_Frederick](#):
>
> should I go ahead and turn off both DNS and DCHP on the router and use the DNSMasq Instance on my Pi-Hole RPi?

It's up to you. Some users like their router to act as the DHCP server, others don't. One advantage to using Pi-hole for your DHCP is that you can assign hostnames to clients (but it's [still possible to do this _without_ using Pi-hole's DHCP server](https://discourse.pi-hole.net/t/how-do-i-use-pi-holes-built-in-dhcp-server-and-why-would-i-want-to/3026)).

---

<div class="post-metadata">

**Author:** ![Jeffery\_Frederick](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jeffery_frederick/32/1652_2.png) [@Jeffery\_Frederick](https://discourse.pi-hole.net/u/Jeffery_Frederick)\
**Post date:** [July 6, 2017, 2:01am UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/3 "2017-07-06T02:01:42Z")

</div>

Thank you Jacob!

I will review the information you suggested.

I very much appreciate your extensive work on Pi-Hole. It sounds like a great solution, and I look forward to getting it working for my family.

---

<div class="post-metadata">

**Author:** ![jacob.salmela](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jacob.salmela/32/8_2.png) [@jacob.salmela](https://discourse.pi-hole.net/u/jacob.salmela)\
**Post date:** [July 6, 2017, 2:02am UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/4 "2017-07-06T02:02:31Z")

</div>

We're always around so let us know if you need help. And thank you for using Pi-hole.🙂

---

<div class="post-metadata">

**Author:** ![Jeffery\_Frederick](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jeffery_frederick/32/1652_2.png) [@Jeffery\_Frederick](https://discourse.pi-hole.net/u/Jeffery_Frederick)\
**Post date:** [July 9, 2017, 3:36pm UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/5 "2017-07-09T15:36:27Z")

</div>

WOW! It really was just that easy...

I got Pi-Hole installed and working in about 10 minutes, just like you said. That is AWESOME!

I see that you have some configuration screens for DNSMasq in the Admin console. Will manually modifying the DNSMasq config file cause any problems there? I was planning on setting up DNSMasq anyway, so I'd be modifying the config file to add more information as needed for my home network.

Thanks again! Pi-Hole is great.

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [July 9, 2017, 4:02pm UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/6 "2017-07-09T16:02:25Z")

</div>

> [@Jeffery\_Frederick](#):
>
> Will manually modifying the DNSMasq config file cause any problems there?

Out of the box dnsmasq default config is stored here:

`/etc/dnsmasq.conf`

Aditional dnsmasq settings added by Pi-hole are stored here:

`/etc/dnsmasq.d/01-pihole.conf`  
`/etc/dnsmasq.d/02-pihole-dhcp.conf`  
`/etc/dnsmasq.d/04-pihole-static-dhcp.conf`

So if want to add your own settings, just create a file in same folder with high enough number in the filename eg:

`/etc/dnsmasq.d/99-my-settings.conf`

Do mind that added settings might conflict with already existing settings.

Ps. below one will reload settings for dnsmasq:

~~`sudo service dnsmasq reload`~~  
`sudo service dnsmasq restart`

---

<div class="post-metadata">

**Author:** ![Jeffery\_Frederick](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jeffery_frederick/32/1652_2.png) [@Jeffery\_Frederick](https://discourse.pi-hole.net/u/Jeffery_Frederick)\
**Post date:** [July 9, 2017, 4:40pm UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/7 "2017-07-09T16:40:09Z")

</div>

Thanks, that is great information.

I am mainly setting up the rest of DNSMasq to replace DHCP and DNS on my router. I have a few static DHCP leases that I've configured and want to move that data over. Was thinking of taking the standard OOTB DNSMasq.conf file and moving it to the /etc/dnsmasq.d/XX-mysettings.conf file as you recommend. Then removing any line items that are in the Pi-Hole files.

So far, I only have the 01-pihole.conf file.

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [July 9, 2017, 4:48pm UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/8 "2017-07-09T16:48:56Z")

</div>

> [@Jeffery\_Frederick](#):
>
> I have a few static DHCP leases that I've configured and want to move that data over

The "`/etc/dnsmasq.d/04-pihole-static-dhcp.conf`" file has below format if want to copy over reservations:

`dhcp-host=<MAC_ADDRESS>,<IP_ADDRESS>,<HOSTNAME>`

Ps. this file only gets created when you activate the Pi-hole DHCP service (it seems).

---

<div class="post-metadata">

**Author:** ![Jeffery\_Frederick](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jeffery_frederick/32/1652_2.png) [@Jeffery\_Frederick](https://discourse.pi-hole.net/u/Jeffery_Frederick)\
**Post date:** [July 9, 2017, 4:56pm UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/9 "2017-07-09T16:56:00Z")

</div>

Got it. Thanks. That's great info. I will move my DHCP and DNS data over and publish this on my internal network.

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [July 9, 2017, 4:59pm UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/10 "2017-07-09T16:59:36Z")

</div>

For DNS records, scroll down a little bit on my reply here:

> [@Running two Piholes?](https://discourse.pi-hole.net/t/running-two-piholes/3895/6):
>
> I wonder if you have same issue as i experienced with Asus. If using the router for DHCP, can you post results from below on a Linux client please: cat /etc/resolv.conf Or if on a Windows client: ipconfig /all \*For latter, I am only interested in the DNS server(s) displayed. I dont have details, you'll need to figure out yourself as probably no one tried before. Its Linux so almost everything you can think of is possible if using right software and bit of scripting. One solution I can t…

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [July 9, 2017, 6:00pm UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/11 "2017-07-09T18:00:21Z")

</div>

> [@Jeffery\_Frederick](#):
>
> Was thinking of taking the standard OOTB DNSMasq.conf file and moving it to the /etc/dnsmasq.d/XX-mysettings.conf file as you recommend.

Ps. moving ?  
Its got this directive in it so if you move the file ... you understand 😉

`conf-dir=/etc/dnsmasq.d`

---

<div class="post-metadata">

**Author:** ![Jeffery\_Frederick](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jeffery_frederick/32/1652_2.png) [@Jeffery\_Frederick](https://discourse.pi-hole.net/u/Jeffery_Frederick)\
**Post date:** [July 9, 2017, 6:54pm UTC](https://discourse.pi-hole.net/t/new-pi-hole-questions/3971/12 "2017-07-09T18:54:37Z")

</div>

I misspoke... Meant copy the contents of dnsmasq.conf to /etc/dnsmasq.d/99-mysettings.conf and then activating the ones I want that Pi-Hole does not already set. So fare, I have not included anything from dnsmasq.conf, and everything is working. We'll see how it goes over the next few days.

Thanks again for all your assistance. Donation coming your way.
