先收藏,周末先不动。感谢。
怎样设置泛域名解析?哪位大神指导下?
大神,这个能不能设置指定域名解析?或者说怎么加参数--server?
330表示未能成功。53端口是开启了,但电脑DNS设成网关的就不能访问网络了。郁闷中
#!/bin/bash
#本程序由熊茂祥编译。
#赋予执行权限
/bin/chmod +x /rw/pckg/plugin/dnsmasq/dnsmasq
#定义绑定IP地址
bindip="192.168.0.1,192.168.88.1,172.168.0.1,127.0.0.1"
#定义绑定端口
bindport="53"
#定义缓存时间
cachettl="720"
#定义缓存容量(条)
cachesize="2048"
#定义缓存最大并发数
cachefm="2048"
#定义不绑定DHCP服务的接口
nodhcp="eth0,eth1"
/rw/pckg/plugin/dnsmasq/dnsmasq --max-cache-ttl=$cachettl --cache-size=$cachesize --dns-forward-max=$cachefm --port=$bindport --resolv-file=$dnsserver --stop-dns-rebind --no-dhcp-interface=$nodhcp --listen-address=$bindip --server=114.114.115.115 --server=114.114.114.114 --all-servers结贴送给有需要的人。
考虑把 SmartDns 加入ROS才是王道啊。
铜板不足,怎么搞?
该如何使用啊?