mr-karan / doggo

:dog: Command-line DNS Client for Humans. Written in Golang
https://doggo.mrkaran.dev/
GNU General Public License v3.0
2.9k stars 100 forks source link

feat(cli): Add dig compatible error exit code 9 #54

Closed SISheogorath closed 1 year ago

SISheogorath commented 1 year ago

This patch implements the error exit code for "No reply from server" that dig uses to indicate that it was unable to resolve an address due to the inability to reach any resolver.

References: https://linux.die.net/man/1/dig

Fixes #53

mr-karan commented 1 year ago

Thanks @SISheogorath !