Passing .test domains upstream

I am using .test as an internal domain and have an upstream resolver set to work with it. By default, dnsmasq has this in its configuration file:

# RFC 6761: Caching DNS servers SHOULD recognize
#     test, & invalid
# names as special and SHOULD NOT attempt to look up NS records for them, or
# otherwise query authoritative DNS servers in an attempt to resolve these
# names.
server=/test/
server=/invalid/

I’d like to override this with my own settings.

I’ve tried adding this to the customisation section:

server=/test/192.168.0.8#5353

But it is ignored, I assume because of the other setting which comes before it and so is taking priority.

If I set a specific host, such as this:

server=/dvwa.test/192.168.0.8#5353

The configuration works, and the request for dvwa.test is passed upstream.

I’ve also tried pointing a different host at an invalid IP and got the expected timeout so my custom settings are being used.

I’ve tried being slightly more specific than the initial with .test instead of just test but that didn’t work.

I can’t see anything in the menus to remove the initial config entry. Can it be done?

I’m running version: