summaryrefslogtreecommitdiff
path: root/Userland/host.cpp
AgeCommit message (Collapse)Author
2021-01-12Userland: Move command-line utilities to Userland/Utilities/Andreas Kling
2020-12-06Userland: Write some '--help' descriptions where appropriateBen Wiederhake
2020-02-20host: Use ArgsParser to parse arguments, and add man page (#1252)howar6hill
Fixes #1246.
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2020-01-11host: Use pledge()Andreas Kling
2019-06-07Userland: Run clang-format on everything.Andreas Kling
2019-06-06LookupServer+LibC: Add support for reverse DNS lookups via gethostbyaddr().Andreas Kling
LookupServer can now take two types of requests: * L: Lookup * R: Reverse lookup The /bin/host program now does a reverse lookup if the input string is a valid IPv4 address. :^)
2019-03-20LibC: Implement gethostbyname() by talking to the DNSLookupServer.Andreas Kling
We now talk to the lookup server over a local socket and it does the lookup on our behalf. Including some retry logic, which is nice, because it seems like DNS requests disappear in the ether pretty damn often where I am.