Commit Graph

82 Commits (8492ccdc61f097da3a8e5dcb2080e77650af8d2d)

Author SHA1 Message Date
Karan Sharma 3409971103 chore: fix typo in nameserver flag
Closes https://github.com/mr-karan/doggo/issues/55
2022-10-24 11:14:18 +05:30
Sheogorath 9386c589bf feat(cli): Add dig compatible error exit code 9
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
2022-10-19 08:00:48 +05:30
Zack Gilman 711cb96d9d help.go - Clean up Grammar + Technical Terms
I think "resolver for" should be changed to "query to" if I understand correctly.

Some other minor adjustments that make the help file terminology a bit more uniform.
2022-07-27 12:34:01 +05:30
Gaeulbyul 2cf9e7bf2c fix: Correctly print colored text on Windows
This commit will fix #40.

Replacing os.Stdout with color.Output will fix the problem on Windows's console.

Internally, `color.Output` is same as `colorable.NewColorableStdout()`, according to acd5f3bb28/color.go (L25-L27)

see also: https://godocs.io/github.com/mattn/go-colorable#NewColorableStdout
2022-07-13 16:52:59 +05:30
Karan Sharma 53f7b70af4 feat: add tls config for dot lookups
Ref https://github.com/mr-karan/doggo/issues/29
2022-05-18 09:56:07 +05:30
Karan Sharma eec8374e6f feat: Add short output flag
Ref https://github.com/mr-karan/doggo/issues/35
2022-05-17 10:35:18 +05:30
Karan Sharma 7619cbdeb0 feat: add strategy flag
Ref https://github.com/mr-karan/doggo/issues/35
2022-05-17 10:21:14 +05:30
lyekumchew a5fe3ae922 feat: add DNS over QUIC support 2021-12-20 21:43:27 +05:30
Karan Sharma 6b42a5ecf0 chore: Restructure package directories 2021-06-25 19:02:00 +05:30
Karan Sharma 9e3656fae9 feat: Add support for reverse DNS lookups
Closes https://github.com/mr-karan/doggo/issues/25
2021-06-25 17:25:04 +05:30
Karan Sharma e5acf1214c fix: prevent app from quitting if one resolver failed 2021-05-18 19:05:47 +05:30
Karan Sharma d7e7362b57 chore: delete unused files (api) 2021-04-25 16:13:39 +05:30
Frank Denis b7e0b497cf Print the server IP address instead of a full DNS stamp
Also allow the sdns scheme in api/index.html
2021-04-24 21:47:00 +05:30
Frank Denis 6d2eae4f58 Add support for DNS stamps and for DNSCrypt servers
This allows connections to DoH servers using their stamp, and adds
support for DNSCrypt servers by the way.
2021-04-24 21:47:00 +05:30
Karan Sharma 7b858c5a93 feat: Add shell completions for zsh,fish 2021-04-21 11:40:21 +05:30
Karan Sharma 6d6e69b8e4 fix: center elements in page 2021-03-11 12:06:17 +05:30
Karan Sharma 50b8093ee1 fix: custom line-height for headers 2021-03-11 11:29:48 +05:30
Karan Sharma d09eb901ec fix: line-height for responsive screens 2021-03-11 00:49:57 +05:30
Karan Sharma 3da7852368 fix: Add spacing on label and form fields 2021-03-11 00:30:24 +05:30
Kailash Nadh b8ba782cf3 Refactor web frontend and remove unnecessary dependencies.
- Eliminate frontend JS build step completely:
  (remove dep: NodeJS, npx, tailwind, postcss, autoprefixer)

- Declutter and cleanup index.html (8.49 KB to 3.4 KB) = ~60% savings.

- Replace tailwind with custom CSS (10.64 KB to 1.96 KB) = ~81% savings.

- Remove Google font (~100 KB) as there is very little text on the page.

- Refactor and cleanup main.js and remove tailwind styling logic.
  (2.82 KB to 1.12 KB) = ~60% savings.

- Net static asset reduction = 21.95 KB to 6.48 KB = ~70% savings
  apart from the 100+ KB elimination of Google fonts.
2021-03-11 00:29:22 +05:30
Karan Sharma 0dc61ac8ec feat: remove redundant map for nameserver 2021-03-10 16:41:55 +05:30
Karan Sharma 27fa414ca9 chore: fix styles 2021-03-10 16:23:25 +05:30
Karan Sharma 9b7c92698d chore: bg color fix 2021-03-10 14:23:02 +05:30
Karan Sharma cda2d04974 feat: jazz up form ui 2021-03-10 13:59:27 +05:30
Karan Sharma 52f076d91b feat: Add autofocus to input 2021-03-09 10:48:31 +05:30
Karan Sharma edb8bb661a fix: bg css for inputs 2021-03-04 21:08:30 +05:30
Karan Sharma 49d5e93316 fix: goreleaser build 2021-03-04 20:41:37 +05:30
Karan Sharma f83a1d14aa feat: purge unused css in tailwind 2021-03-04 20:35:44 +05:30
Karan Sharma d985ecd1b4 feat: Remove VueJS and rewrite in vanilla JS 2021-03-04 20:35:44 +05:30
Karan Sharma 022c1267b7 add version 2021-03-03 10:23:26 +05:30
Karan Sharma 06bee3f09c feat: Add DOH option 2021-03-03 10:15:41 +05:30
Karan Sharma b17d162c24 fix: vue loading issues 2021-03-02 20:13:43 +05:30
Karan Sharma 7ecd7c78d0 chore: load vue on `DOMContentLoaded` 2021-03-02 19:55:59 +05:30
Karan Sharma 12c5b0b278 fix: Load VueJS before custom js 2021-03-02 19:39:35 +05:30
Karan Sharma e8a7fc720e chore: remove unused font 2021-03-02 19:31:49 +05:30
Karan Sharma d9e80b1d17 fix: minor styling changes 2021-03-02 19:14:00 +05:30
Karan Sharma 083ba19363 chore: fix margin issue 2021-03-02 18:59:55 +05:30
Karan Sharma 6e0ce47f91 feat: UI design 2021-03-02 18:59:55 +05:30
Karan Sharma f389c9c876 feat: API Handlers 2021-03-02 18:59:55 +05:30
Karan Sharma b753631012 feat: refactor app in a separate package 2021-03-02 18:59:55 +05:30
Karan Sharma 508a8dd7c4 feat: refactor resolver in separate package 2021-03-02 18:59:55 +05:30
Karan Sharma 0075911319 fix: set ndots default value as 0
closes https://github.com/mr-karan/doggo/issues/13
2021-02-17 15:35:32 +05:30
Karan Sharma a8769e1df5 fix: set ndots correctly
fixes https://github.com/mr-karan/doggo/issues/13
2021-02-15 10:11:08 +05:30
Karan Sharma bec7a7f75b chore: fix help text 2021-01-20 15:34:18 +05:30
huangnauh 3019f1cee6
feat: Handle nameserver parsing on Windows
* system default nameserver in windows

* change
2021-01-20 15:32:15 +05:30
Karan Sharma 250591098b fix: Use a common resolverOpts 2020-12-29 09:10:22 +05:30
Karan Sharma d2158a091d chore: remove redundant code in output 2020-12-24 22:12:19 +05:30
Karan Sharma 4e5b074987 feat: Refactor output format 2020-12-24 22:01:35 +05:30
ffmiyo 539e89e1fe fix: use net.JoinHostPort instead of fmt.Sprintf
The net.JoinHostPort function handles both ipv4 and ipv6 cases
2020-12-21 11:41:20 +05:30
Karan Sharma d406d54170 Merge branch 'main' of github.com:mr-karan/doggo into main 2020-12-19 10:57:14 +05:30