crawler: add crawler
This commit is contained in:
parent
2ccb7bc260
commit
c180f98284
10 changed files with 122 additions and 34 deletions
|
|
@ -27,6 +27,20 @@ let
|
|||
ns IN A 100.86.129.23
|
||||
@ IN A 100.86.129.23
|
||||
'';
|
||||
|
||||
crawlerZoneFile = pkgs.writeText "crawler.zone" ''
|
||||
$ORIGIN crawler.thegeneralist01.com.
|
||||
@ IN SOA ns.crawler.thegeneralist01.com. thegeneralist01.proton.me. (
|
||||
2025080801 ; serial (yyyymmddXX)
|
||||
3600 ; refresh
|
||||
600 ; retry
|
||||
86400 ; expire
|
||||
3600 ; minimum
|
||||
)
|
||||
IN NS ns.crawler.thegeneralist01.com.
|
||||
ns IN A 100.86.129.23
|
||||
@ IN A 100.86.129.23
|
||||
'';
|
||||
in
|
||||
{
|
||||
services.coredns = {
|
||||
|
|
@ -44,6 +58,12 @@ in
|
|||
errors
|
||||
}
|
||||
|
||||
crawler.thegeneralist01.com:53 {
|
||||
file ${crawlerZoneFile}
|
||||
log
|
||||
errors
|
||||
}
|
||||
|
||||
.:53 {
|
||||
forward . 100.100.100.100 45.90.28.181 45.90.30.181
|
||||
cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue