我正试图帮助那些拥有Juniper SRX550的人。我们要做的是阻止DHCP池上的出站端口53,并且只有出站端口53,除了为DHCP池设置的名称服务器(在本例中,in设置为OpenDNS,但我不认为这是相关的)。
set system services dhcp pool 10.0.0.0/24 name-server 208.67.222.222
设置名称-服务器,但我一直无法找到一种方法来阻止出站DNS,而不是去OpenDNS服务器。
以下是当前配置的样子:
dhcp {
pool 10.0.0.0/24 {
address-range low 10.0.0.10
有个方法-
public static String getHostByAddr(byte[] addr) throws UnknownHostException {
Name name = ReverseMap.fromAddress(InetAddress.getByAddress(addr));
final String[] servers = new String[] {"208.67.220.220", "208.67.222.222"};
final Resolver res = new ExtendedResolver(
tione@notebook-haujy7w7gk-55475fd4b7-mhw8r:~/notebook$ pip install --user math
Collecting math
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object a