Skip to content

Bierchermuesli/albert-dig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIG

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: dig

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!

image

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

😎

Installation

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

Bugs / Feedback

This was my first albert plugin. so be honest and submit any feedback or PR.

ToDo:

  • Allow FQDN as @ns1.example.com as quering name server argument (only IP allowed now)
  • better use regex?

Releases

No releases published

Packages

No packages published

Languages