Changes between Version 5 and Version 6 of DnsResolution
- Timestamp:
- 06/06/09 18:26:45 (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DnsResolution
v5 v6 15 15 You can change the DNS server in the network proxy Javascript (case 3 on the proxy page) and in request modification scripts (case 4). 16 16 17 The DNS server is specified by assigning a comma/semicolon/whitespace separated list of ip numbers to the {{{gb.dnsServers}}} variable. Just like {{{gb.proxy}}} it is initially empty in the global script, and in request-specific scripts it is initialized to the global value. 17 The DNS server is specified by assigning a comma/semicolon/whitespace separated list of ip numbers to the {{{gb.network.dnsServers}}} variable. 18 Just like {{{gb.network.proxy}}} it is initially empty in the global script, and in request-specific scripts it is initialized to the global value. 18 19 19 20 === Examples === … … 23 24 #!js 24 25 if (gb.network.interfaces.en1.AirPort.ssid == 'The Great University') 25 gb. dnsServers = "208.67.222.222 , 208.67.220.220";26 gb.network.dnsServers = "208.67.222.222 , 208.67.220.220"; 26 27 }}} 27 28
