News for hackers. Stuff that matters.
Re:Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost" by amarshall on Wednesday January 08, 2020 @12:05PM (#21993316)
As far as I know, no, it’s not possible to do in Unbound since it doesn’t support regex or wildcards on part of a domain (except whole parts as in DNS itself e.g. *.foo.example).
Re:Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost" by DyslexicAtheist on Thursday January 09, 2020 @01:40PM (#22004070)
I came up with another solution to work separate from unbound/dnsmasq using the NFQUEUE in the linux kernel. I basically am processing the dns packets in user-land :) ... bit of a hack but it made for a great afternoon https://news.ycombinator.com/item?id=22003933