-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
DNS SOA Serial bug #28790
Copy link
Copy link
Closed
Labels
confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.dnsIssues and PRs related to the dns subsystem.Issues and PRs related to the dns subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.dnsIssues and PRs related to the dns subsystem.Issues and PRs related to the dns subsystem.
Bug description
dns.resolveSoa may produce unexpected "serial" results, when the serial does not follow the YYYYMMDDHH format (or if the serial reaches a certain date ;)
Code sample
Expected results
{
nsname: 'ns1.some.host',
hostmaster: 'hostmaster.some.host',
serial: 4294867295,
refresh: 86400,
retry: 7200,
expire: 1209600,
minttl: 3000
}
Actual results
{
...
serial: -100001, // this is weird
...
}
Observations
After some tests, it appears the lowest serial number under which this issue appears is 2147483648 (something to do with dates?)