Dig like DNS lookups for copy & paste or check different flags/resolvers 'on-demand'
Default Trigger: d {domain|ip addr} [TXT|AAAA|ANY...] [@1.2.3.4.]
Have a look at this use case with on-demand query while chaning resolver or flags:
Defaults looks up A and AAA records. Additional param can be added for query type. e.g. MX,NS etc... or ANY (querries well known types). With @x.x.x.x
you ask another resolver
dig -x is also supported for PTR lookups!
have a look for 'Alt'-Key for advanced copy&paste Option e.g. PTR Domains or dig output for sophisticated documentation porpose:
$> dig example.com A
; <<>> Albert-DIG 1.3 <<>> example.com
;; ->>HEADER<<- opcode: QUERY, status: NOERROR
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;example.com. IN A
;; ANSWER SECTION:
example.com IN A 93.184.216.34
;; Query time: 0.02 msec
;; SERVER: 1.1.1.1#53)
;; WHEN: Mon Jan 16 21:11:35 2023
😎
Simple clone to Albert plugin dir and activate in Albert Python Modules
git clone https://github.com/Bierchermuesli/albert-dig.git ~/.local/share/albert/python/plugins/dig
This was my first albert plugin. so be honest and submit any feedback or PR.
- Allow FQDN as
@ns1.example.com
as quering name server argument (only IP allowed now) - better use regex?