Commit Graph
26 Commits
Author SHA1 Message Date
timmy c5a72342f2 Add time and vendor information to leases 2022-03-04 13:49:50 -08:00
timmy 67711ee2c7 Merge branch 'master' of https://github.com/rtr7/router7 2022-03-04 13:30:38 -08:00
timmy 61b59517fc Act as the authority even though were not
letsencrypt needs to talk to the authoritative name server, but
I have all dns traffic redirected to here so we get the SOA using the
same request (probably only works by accident) and then make a request
to the address listed in the SOA

Fix typos in IPv6 addresses
2021-05-26 23:04:33 -07:00
timmy b801bf699f Re-Add DHCP discover fallback for ISPs that don't advertise DHCP 2021-05-23 19:38:38 -07:00
timmy e34b880a55 Final fix
Add the domain as it is needed (multiple domains on a home net is niche)
Only replace the record if a local one was found
Use proper slice updating
2021-05-23 19:34:59 -07:00
timmy ac0ef71d9f Fix null check 2021-05-23 18:54:09 -07:00
timmy 9533787aac Fix err check
go mod tidy
2021-05-23 18:31:30 -07:00
timmy 29eaa11052 Update parameters for clarity
Hijack the final A record in a CNAME chain if it is in our records
2021-05-23 17:49:15 -07:00
timmy 9ee285e139 fix build 2021-03-15 23:50:19 -07:00
timmy ef50f7c2e4 Merge remote-tracking branch 'origin/master' 2021-03-15 22:44:39 -07:00
timmy a592bbc76a Revert "Fallback to DHCPDISCOVER after 4 failed timeouts"
This reverts commit 68105841c6.
2021-03-15 22:34:17 -07:00
timmy 9f4380a4a3 Fix the fallback to DHCP Discover
Log the IP Address of the server in each failed timeout
Update gokrazy
2021-01-09 15:32:30 -08:00
timmy a34a03e036 Update gokrazy 2020-09-02 00:04:04 -07:00
timmy 68105841c6 Fallback to DHCPDISCOVER after 4 failed timeouts 2020-09-01 22:16:14 -07:00
timmy 1789f1e94c Replace gokrazy 2020-08-22 10:53:05 -07:00
timmy 55ac682d36 Fix flag.parse 2020-08-17 23:13:26 -07:00
timmy 5f01503df6 Use the correct NTP dhcp4 option 2020-08-16 18:19:34 -07:00
timmy ce29a6f436 fix ip length 2020-08-10 22:05:40 -07:00
timmy 04ee69ce02 go mod tidy
Update deps
2020-08-10 18:26:07 -07:00
timmy 7923e58428 dhcp4d: add an options argument for the dhcp server 2020-08-10 18:12:35 -07:00
timmy 2dc11ce1e3 Add additional test cases and fix some failing tests 2020-08-10 18:12:34 -07:00
timmy e421cff225 Fix the implicit lan domain
Includes test for setting a custom domain
2020-08-10 18:12:34 -07:00
timmy fbd2facfa1 Set the recursion available flag 2020-08-10 18:12:34 -07:00
timmy fbbfa568a8 Add JSON tags 2020-08-10 18:12:34 -07:00
timmy 169bc5c3e7 DNS changes
go mod tidy
2020-08-10 18:12:34 -07:00
timmy 3c451f06ca Add the ability to run router7 on a normal Linux distribution 2020-08-10 18:12:34 -07:00