<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 12/18/22 06:59, Jonathan Stafford
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAC30Zsz+ua4FucQKT8Z+39WxdyAHCw4pkwXyMbb2P9jv2XWw_Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">--server provides a way to change upstream
resolvers based on the domain being queried. Is there a way to
make the same sort of change based on the client doing the
querying? For example, I'd like the IP address range I use for
my kids' devices to use 1.1.1.3.
<div><br>
</div>
</div>
</blockquote>
<p><br>
</p>
<p>You can achieve this using tags:</p>
<p><br>
</p>
<p><br>
</p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"># Define DNS
servers
</span><br>
dhcp-option=option:dns-server,1.1.1.1<br>
</span><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">dhcp-option=tag:kidsdevices,option:dns-server,1.1.1.3</span><br>
</span></p>
<p><span style="font-family:monospace"><br>
</span></p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">dhcp-host=0c:51:01:95:d3:36,set:kidsdevices
# Ipad
</span><br>
dhcp-host=58:41:4E:CD:D2:0A,set:kidsdevices # Iphone<br>
</span></p>
<p><span style="font-family:monospace"><br>
</span></p>
<p><span style="font-family:monospace">Michael</span></p>
<p><span style="font-family:monospace"><br>
</span></p>
</body>
</html>