WPAD for two networks
-
What are you trying to do, add another view? Plus keep that one?
You can not have the same name for view.. And you only need the one server: and you don't need that use-applictaion-dns.net that has nothing to do with the view.. That is so firefox wont use doh when they turn it on..
here.. This is 2 different views
server: private-domain: "plex.direct" local-zone: "use-application-dns.net" static access-control-view: 192.168.3.0/24 wpadview access-control-view: 192.168.2.0/24 newview view: view-first: yes name: "wpadview" local-data: "wpad.my.lan. 90 IN A 192.168.3.1" view: view-first: yes name: "newview" local-data: "wpad.my.lan. 90 IN A 192.168.2.1"
The private-domain and use-application are NOT part of it, those are just in my custom..
from box on my 192.168.3 network
; <<>> DiG 9.10.3-P4-Raspbian <<>> @192.168.3.253 wpad.my.lan ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60098 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;wpad.my.lan. IN A ;; ANSWER SECTION: wpad.my.lan. 90 IN A 192.168.3.1 ;; Query time: 0 msec ;; SERVER: 192.168.3.253#53(192.168.3.253) ;; WHEN: Sat Sep 28 06:04:44 CDT 2019 ;; MSG SIZE rcvd: 56
From box on my 192.168.2.0/24 network
; <<>> DiG 9.10.3-P4-Ubuntu <<>> @192.168.2.253 wpad.my.lan ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23959 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;wpad.my.lan. IN A ;; ANSWER SECTION: wpad.my.lan. 90 IN A 192.168.2.1 ;; Query time: 0 msec ;; SERVER: 192.168.2.253#53(192.168.2.253) ;; WHEN: Sat Sep 28 06:04:08 CDT 2019 ;; MSG SIZE rcvd: 56
-
@johnpoz said in WPAD for two networks:
cool, i was wildly off course. thanks for that. need to provide the views for separate vlans.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.