# Secondary VLAN resolving DNS query without PiHole

**URL:** <https://discourse.pi-hole.net/t/secondary-vlan-resolving-dns-query-without-pihole/33260>\
**Category:** Help\
**Created:** [May 24, 2020, 3:19pm UTC](https://discourse.pi-hole.net/t/secondary-vlan-resolving-dns-query-without-pihole/33260 "2020-05-24T15:19:01Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![nero355](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/nero355/32/54774_2.png) [@nero355](https://discourse.pi-hole.net/u/nero355)\
**Post date:** [May 25, 2020, 10:42pm UTC](https://discourse.pi-hole.net/t/secondary-vlan-resolving-dns-query-without-pihole/33260/7 "2020-05-25T22:42:15Z")

</div>

> [@kevincork](#):
>
> My Pihole (with unbound) seems to work ok on my LAN for a while, however I never managed to have it working on my VLANs.
> 
> as soon as I was setting the PiHole IP in the VLAN configuration, I wasn't able to resolve any query.  
> I fixed the firewall and add the PiHole as DNS for the VLAN again, weirdly I seems to resolve DNS query although they are all unfiltered.

That's because you are doing it wrong! 😉

Don't route DNS Traffic from VLAN to VLAN but instead add some VLAN Interfaces to your Pi-Hole Server so it has a simple local connection with every Client in each VLAN 😉

If you want I can write up a Tutorial for this in English ?

In case you speak Dutch or feel like using Google Translate then click here : [https://gathering.tweakers.net/forum/list\_message/57865570#57865570](https://gathering.tweakers.net/forum/list_message/57865570#57865570)

---

_[View the full topic](https://discourse.pi-hole.net/t/secondary-vlan-resolving-dns-query-without-pihole/33260)._
