OpenWrt中DHCP分配自定义DNS

通过Shell设置:

/etc/config/dhcp

config dhcp 'lan'
option interface 'lan'
option start '20'
option limit '99'
option leasetime '1h'
list 'dhcp_option' '6,114.114.114.114,223.5.5.5'

通过WEB方式设置:

找到“接口”——“LAN”——“DHCP服务器”——“高级设置”——“DHCP额外设置”里填写
6,114.114.114.114,223.5.5.5
就可以了

This entry was posted in Technology and tagged , , . Bookmark the permalink. 14,792 views

Related Posts

2 Responses to OpenWrt中DHCP分配自定义DNS

  1. 惜乐博客 says:

    完全看不懂什么东西

Leave a Reply

Your email address will not be published. Required fields are marked *