Should multiple IPs per host be allow in the DNS resolver's host overrides?



  • Hi,

    I haven't had much luck finding a quick source of Unbound documentation for this, but I think having multiple IPs per host override is a valid configuration.  For example, I can add the following advanced config to Unbound:

    rrset-roundrobin: "yes"
    local-data-ptr: "192.0.2.1 test.local"
    local-data: "test.local A 192.0.2.1"
    local-data: "test.local A 192.0.2.1"
    local-data-ptr: "192.0.2.2 test.local"
    local-data: "test.local A 192.0.2.2"
    local-data: "test.local A 192.0.2.2"
    

    Is that a valid Unbound configuration?  If so, should the host overrides allow multiple IPs per host rather than giving the error "This host/domain already exists."?

    I found this similar issue for domain overrides.