Different DNS Server for specified Clients


is it possible to set to some clients an other dns server ?

background: i use pihole as dns everywhere. a couple of my sonos speakers has sometimes problem with dns resolve. i think pihole isl imiting here.

if have some speakers like and want to use the google dns,

how can i archive this ?

thank you.

OpenWrt 21.02.1 r16325-88151b8303 / LuCI openwrt-21.02 branch git-21.295.67054-13df80d
on raspberry pi4

1 Like

6 = DNS


Thank you.

I made it like this:

at the beginning of the dhcp file:

config tag 'tag1'
	option dhcp_option '6,,'

and at my host:

config host
	option name 'Sonos'
	option dns '1'
	option mac 'xx:xx:xx:xx'
	option leasetime '12h'
	option ip ''
	option tag 'tag1'

thank you for that hint.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.