On 07/03/2021 08:57, Geert Stappers via Dnsmasq-discuss wrote:
> --host-record=foo.example.org,NODATA,fd00::1
> 
> Says what is wanted.
> 
> In `hosts` file
> 
>   fd00::1  foo.example.org
>   NO4DATA  foo.example.org
> 
> and allow
> 
>   192.168.0.1  foo.example.org
>   NO6DATA      foo.example.org
> 
> plus also
> 
>   NO4DATA   foo.example.org
>   NO6DATA   foo.example.org
> 
> to express  "don't go to upstream resolvers for foo.example.org,
> return NODATA to the request of the DNS client"
> 
> That "hosts file syntax" applied to `host record`
>   --host-record=foo.example.org,NODATA,fd00::1
>   --host-record=foo.example.org,192.168.0.1,NODATA
>   --host-record=foo.example.org,NODATA,NODATA

Yeah, that would suit my purposes just fine, and I imagine would become
very useful for others in the future too. :)

Regards,
Aaron Jones

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to