Use OpenWRT DNS to blank out gateway, dns1, dns2

iwanttosee

Pulling my weight
Joined
Dec 27, 2020
Messages
203
Reaction score
186
Location
US
I used an OpenWRT router's DHCP server to force my NVR and cameras to take on "blank" for gateway, dns1, and dns2 for specific devices while all other devices get the proper gateway and DNS.
I had to SSH into the router to make the changes as explained here. DNS and DHCP examples

/etc/config/dhcp

config host
option name 'Theatre_Room_Cam'
option dns '1'
option mac 'BC:1C:81:9E:63:CB'
option ip '192.168.2.59'
option leasetime 'infinite'

config mac 'mac1'
option mac 'BC:1C:81:9E:63:CB'
option networkid 'Theatre_Room_Cam'
list dhcp_option '3'
list dhcp_option '6'

Why would you want it even when you have DNS filtering? My reason is to cut down the broadcast traffic thru my wifi networks and wired network, it probably doesn't help reduce that much traffic but it makes me happy to see the lack of broadcast with the program Wireshark.


1627581698480.png
 
Last edited:
Top