aboutsummaryrefslogtreecommitdiff
path: root/lib/dns/hosts_file.go
AgeCommit message (Expand)Author
2026-01-15all: convert license and copyright to use SPDX identifiersShulhan
2024-03-02all: move the repository to "git.sr.ht/~shulhan/pakakeh.go"Shulhan
2023-04-09lib/dns: refactoring ParseHostsFile using lib/bytes#ParserShulhan
2022-05-12all: rewrite all codes to use "var" instead of ":="Shulhan
2022-05-12lib/dns: return the deleted record on HostsFile RemoveRecordShulhan
2022-04-25lib/dns: add method to get the record in HostsFile by name and/or valueShulhan
2021-11-15lib/dns: realign all struct fieldsShulhan
2021-11-14lib/dns: refactoring, introduce new type RecordClassShulhan
2021-11-14lib/dns: refactoring, create type RecordType to represent type of RRShulhan
2020-09-06dns: add method to append and remove record in hosts fileShulhan
2020-09-06dns: export function to get query type by address valueShulhan
2020-09-02dns: convert the hostname to lowercase when parsing hosts fileShulhan
2020-08-25dns: re-export the path field on HostsFile and ZoneFileShulhan
2020-08-23dns: set RR type from value of address when parsing hosts fileShulhan
2020-08-23dns: change the HostsFile Messages to list of ResourceRecordShulhan
2020-07-26dns: add method to create Message from hostname and list of addressesShulhan
2020-07-26dns: rename hosts to hosts_fileShulhan