Resolver wildcard DNS - subdomains not working

  • In the custom options i have:

    server:include: /var/unbound/pfb_dnsbl.*conf
    local-zone: "" redirect
    local-data: " 86400 IN A"

    If i ping i get the IP from my test server.
    But if i ping i get the IP from the server in the wild (outside the LAN).

  • LAYER 8 Global Moderator

    And you sure you client didn't have it cached.. Make sure you clear your machines local cache..

    I just did a test case of this. with google..


    And works just fine.

    $ dig
    ; <<>> DiG 9.14.3 <<>>
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23689
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    ; EDNS: version: 0, flags:; udp: 4096
    ;           IN      A
    ;; ANSWER SECTION:    86400   IN      A
    ;; Query time: 2 msec
    ;; SERVER:
    ;; WHEN: Mon Jul 15 20:10:09 Central Daylight Time 2019
    ;; MSG SIZE  rcvd: 64

    But if ping it gets what it had cached

    $ ping
    Pinging [] with 32 bytes of data:
    Reply from bytes=32 time=13ms TTL=52
    Reply from bytes=32 time=14ms TTL=52
    Reply from bytes=32 time=15ms TTL=52
    Reply from bytes=32 time=29ms TTL=52

    Flushed local cache.. And then works fine

    $ ping
    Pinging [] with 32 bytes of data:

  • Damn. Sometimes....

    A "ipconfig /flushdns" did it.