aboutsummaryrefslogtreecommitdiff
path: root/lib/dns/message.go
AgeCommit message (Expand)Author
2026-01-26lib/dns: add method to set TTL on MessageShulhan
2025-01-23all: use for-range with numericShulhan
2025-01-23all: replace [lib/bytes.WriteXxx] with standard libraryShulhan
2025-01-23all: replace "lib/bytes.AppendXxx" with standard libraryShulhan
2025-01-17lib/dns: detect invalid header earlierShulhan
2024-04-12lib/dns: return errInvalidMessage when received message cannot be parsedShulhan
2024-04-12lib/dns: fix packing and unpacking OPT recordShulhan
2024-03-27lib/dns: refactor [Message.Unpack] to [UnpackMessage]Shulhan
2024-03-26lib/dns: implements RFC 9460 for SVCB RR and HTTPS RRShulhan
2024-03-05all: comply with linter recommendations #2Shulhan
2024-03-02all: move the repository to "git.sr.ht/~shulhan/pakakeh.go"Shulhan
2024-02-25lib/dns: ignore invalid messageShulhan
2023-08-06lib/dns: add method AddAuthority to MessageShulhan
2023-05-20all: remove any usage of debug.Value in all packagesShulhan
2023-03-26lib/dns: fix packing, parsing, and saving MINFO resource dataShulhan
2023-03-26lib/dns: fix packing and unpacking resource record HINFOShulhan
2023-03-25lib/dns: fix all lint warnings suggested by revive and fieldalignmentShulhan
2023-03-22lib/dns: use the packet length to derive current offsetShulhan
2022-05-17lib/dns: return the removed record on caches RemoveCachesByRRShulhan
2022-05-12all: rewrite all codes to use "var" instead of ":="Shulhan
2022-05-09all: reformat all codes using gofmt 1.19 (the Go tip)Shulhan
2021-11-15lib/dns: realign all struct fieldsShulhan
2021-11-15lib/dns: refactoring message questionShulhan
2021-11-14lib/dns: refactoring the section headerShulhan
2021-11-14lib/dns: refactoring, introduce new type RecordClassShulhan
2021-11-14lib/dns: refactoring, create type RecordType to represent type of RRShulhan
2021-11-13lib/dns: remove internal field off from ResourceRecordShulhan
2021-11-11lib/dns: use different packet between UDP and TCP messagesShulhan
2021-10-17lib/bytes: refactoring and cleaning up the bytes packageShulhan
2021-10-14lib/bytes: refactoring AppendXxx functionsShulhan
2021-10-14lib/ascii: change signature of ToLower and ToUpperShulhan
2020-09-06dns: unexport the Messsage's Packet fieldShulhan
2020-09-06dns: export function to get query type by address valueShulhan
2020-08-18dns: rename AddRR to AddAnswer on Message typeShulhan
2020-08-17dns: add method to remove RR from cache and master fileShulhan
2020-08-15dns: refactoring the ResourceRecord values from []byte to stringShulhan
2020-08-15dns: add method to update/insert resource record to cachesShulhan
2020-08-03dns: refactoring resource record fieldsShulhan
2020-07-26dns: add method to create Message from hostname and list of addressesShulhan
2020-06-06all: use default linter optionsShulhan
2020-06-06dns: replace RDataText with plain []byteShulhan
2020-02-13all: suppress false-positive linter warningsShulhan
2019-12-09dns: allocate raw packet on receiveShulhan
2019-12-04dns: remove the use of pointer on Message fieldsShulhan
2019-12-04dns: remove the use of ResourceRecord poolShulhan
2019-10-22dns: return an error if section question contains invalid packetShulhan
2019-06-14ascii: new library for working with ASCII charactersShulhan
2019-05-21dns: always return true when answers RR exist and no TTL is zeroShulhan
2019-05-07dns: check for zero TTL on authorities and additionals RR on IsExpiredShulhan
2019-04-12dns/message: remove elapsed parameter on message IsExpired()Shulhan