2020年8月13日星期四

dnsmasq的pxe配置

 # Custom user conf file for dnsmasq

# Please add needed params only!

pxe-service=0,"Raspberry Pi Boot"

dhcp-option=3,192.168.188.1

dhcp-option=150,192.168.188.10

dhcp-option=66,192.168.188.10

##指定tftp服务器地址

#dhcp-option=tag:eth00,option:tftp-server-name,192.168.0.12

#dhcp-option=option:66,192.168.188.10

#dhcp-boot=pxelinux.0,192.168.188.10

#dhcp-option=net:br0,150,192.168.188.10

#dhcp-option=net:br0,66,oyzjinhome.com

#dhcp-range=192.168.188.255,proxy


### Web Proxy Automatic Discovery (WPAD)

dhcp-option=252,"\n"


### Set the limit on DHCP leases, the default is 150

#dhcp-lease-max=150


### Add local-only domains, queries are answered from hosts or DHCP only

#local=/router/localdomain/


### Examples:


### Enable built-in TFTP server

#enable-tftp


### Set the root directory for files available via TFTP.

#tftp-root=/opt/srv/tftp

#tftp-root=/,192.168.188.10


### Make the TFTP server more secure

#tftp-secure


### Set the boot filename for netboot/PXE

#dhcp-boot=pxelinux.0


# 过滤 IPv6(AAAA)查询请求

#filter-aaaa


没有评论:

发表评论

youtube的dns屏蔽方法

  216.239.38.120 是 Google 提供的一个特殊 DNS 服务器,用于强制开启 YouTube 受限模式(Restricted Mode) 。 如果你想在家里强制 YouTube 进入受限模式,可以在 路由器的 DNS 设置 中配置以下 DNS 服务器: D...