Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    WPAD for two networks

    Scheduled Pinned Locked Moved DHCP and DNS
    22 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      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
      

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      4 1 Reply Last reply Reply Quote 0
      • 4
        4o4rh @johnpoz
        last edited by

        @johnpoz said in WPAD for two networks:

        cool, i was wildly off course. thanks for that. need to provide the views for separate vlans.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.