Skip to content

Commit 3783c71

Browse files
committed
Ideas for hosty
1 parent 87ea5d0 commit 3783c71

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

cmd/hosty/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# hosty
2+
3+
Manipulate host/domain names on the command line
4+
5+
* convert to/from punycode
6+
* get the public suffix
7+
* get the public suffix + 1
8+
* get the TLD
9+
* get the bare hostname
10+
* get the full hostname (aka FQDN)
11+
* make sure a hostname is valid
12+
* make sure a hostname resolves
13+
* make sure the TLD is valid
14+
* make sure the public suffix is valid
15+
16+
* Handle trailing dot
17+
* Max label size is 63
18+
* Max FQDN is 253
19+
* Optional output: exit code, blank, original

0 commit comments

Comments
 (0)