# DNS Filtering for specific user

**URL:** <https://forum.openwrt.org/t/dns-filtering-for-specific-user/45998>\
**Category:** Network and Wireless Configuration\
**Created:** [October 7, 2019, 5:47am UTC](https://forum.openwrt.org/t/dns-filtering-for-specific-user/45998 "2019-10-07T05:47:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lleachii](https://forum.openwrt.org/letter_avatar/lleachii/32/6_449c533f586939b6e5f246632a46421f.png) [@lleachii](https://forum.openwrt.org/u/lleachii)\
**Post date:** [October 7, 2019, 2:47pm UTC](https://forum.openwrt.org/t/dns-filtering-for-specific-user/45998/2 "2019-10-07T14:47:06Z")

</div>

Why are you using the firewall to assign a DNS server?

Just assign the server via DHCP, or on the client statically.

```
config host
	option ip '192.168.1.129'
	option mac 'xx:xx:xx:xx:xx:xx'
	option name 'pc_dns_filtered'
	option dns '1'
	option tag 'filtered_dns'

config tag 'filtered_dns'
	list dhcp_option '6,8.8.8.8,8.4.4.4'

```

---

_[View the full topic](https://forum.openwrt.org/t/dns-filtering-for-specific-user/45998)._
