knadh / dns.toys

A DNS server that offers useful utilities and services over the DNS protocol. Weather, world time, unit conversion etc.
https://www.dns.toys
MIT License
2.5k stars 137 forks source link

Adjust Bash/Fish functions #19

Closed chessmango closed 2 years ago

chessmango commented 2 years ago

Allows for type, extra dig flags etc. Specifically addresses https://github.com/knadh/dns.toys/pull/9 with A and AAAA support

I don't have Fish running anywhere, but as I understand it $argv represents the whole list in the same way $@ does in Bash.

Looks like there's just a trailing newline as well :sweat_smile:

knadh commented 2 years ago

Cheers. Confirmed that Fish works.