YAML 39
Dickpoop By gknux on 25th January 2025 08:43:30 PM
  1. tcp:
  2.   routers:
  3.     router-dns-tcp:
  4.       entryPoints:
  5.        - tcpdns
  6.       rule: "HostSNI(`*`)"
  7.       service: tcpdns-service
  8.       middlewares:
  9.        - tcpdns-allowlist
  10.  
  11.   middlewares:
  12.     tcpdns-allowlist:
  13.       ipAllowList:
  14.         sourceRange:
  15.          - "127.0.0.1/32"
  16.           - "192.168.0.0/16"
  17.           - "10.10.190.0/24"
  18.           - "fd01:0470:88f9::/48"
  19.  
  20.   services:
  21.     tcpdns-service:
  22.       loadBalancer:
  23.         servers:
  24.           - address: "192.168.100.44:53"
  25.           - address: "192.168.100.46:53"
  26.             #- address: "[fd01:470:88f9:100::44]:53"
  27.             #- address: "[fd01:470:88f9:100::46]:53"
  28.  
  29. udp:
  30.   routers:
  31.     router-dns-udp:
  32.       entryPoints:
  33.        - udpdns
  34.       service: udpdns-service
  35.  
  36.   services:
  37.     udpdns-service:
  38.       loadBalancer:
  39.         servers:
  40.           - address: "192.168.100.44:53"
  41.           - address: "192.168.100.46:53"
  42.             #- address: "[fd01:470:88f9:100::44]:53"
  43.             #- address: "[fd01:470:88f9:100::46]:53"
  44.  
  45. http:
  46.   routers:
  47.     technitium-http:
  48.       entrypoints:
  49.        - web
  50.       rule: "Host(`dns.local`)"
  51.       service: technitium
  52.  
  53.   services:
  54.     technitium:
  55.       loadbalancer:
  56.         passhostheader: true
  57.         servers:
  58.           - url: http://192.168.100.46:5380
  59.         sticky:
  60.           cookie:
  61.             name: technitium
  62.             httpOnly: true

ifconfig paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.