diff --git a/.gitignore b/.gitignore index 4dc0b1a..52497f6 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,6 @@ Config/DNS/config/* # Ignore anything in disabled folders. disabled + +# Ignore any .env files which are not explicitly committed to the project. +*.env diff --git a/dns.env.example b/dns.env.example new file mode 100644 index 0000000..c4d67c6 --- /dev/null +++ b/dns.env.example @@ -0,0 +1,16 @@ +# File to hold any specific DNS servers you'd like to use. This is helpful in +# situations such as Nextcloud needing to access an OnlyOffice server on the +# internal network but the router does not allow the traffic to go out and back +# in. Therefore a local DNS is necessary in order to tell Nextcloud that the +# document server is a local IP address rather than the WAN address like an +# external DNS would. + +# A private DNS server, such as one run by this project's Config/DNS/ config. +DNS1=10.110.1.53 + +# Fallback server, such as Cloudflare 1.1.1.1 or the system's local gateway. +DNS2=192.168.1.1 + +# Explicitly defined external DNS servers. +DNS_EX1=1.1.1.1 +DNS_EX2=1.0.0.1