diff --git a/internal/dnsproxy/proxy.go b/internal/dnsproxy/proxy.go index 3af2ffb..fe0b998 100644 --- a/internal/dnsproxy/proxy.go +++ b/internal/dnsproxy/proxy.go @@ -66,7 +66,7 @@ func (p *Proxy) handleRequest(w dns.ResponseWriter, r *dns.Msg) { continue } - // get TTL and enforce minimum TTL + // get TTL ttl := a.Header().Ttl switch a.Header().Rrtype { @@ -93,7 +93,7 @@ func (p *Proxy) handleRequest(w dns.ResponseWriter, r *dns.Msg) { report.Wait() case dns.TypeCNAME: - // CNAME recort, store temporary watch + // CNAME record, store temporary watch rr, ok := a.(*dns.CNAME) if !ok { log.Error("DNS-Proxy received invalid CNAME record in reply") diff --git a/internal/vpncscript/config.go b/internal/vpncscript/config.go index 077b947..749851c 100644 --- a/internal/vpncscript/config.go +++ b/internal/vpncscript/config.go @@ -165,7 +165,7 @@ func createConfigSplit(env *env, config *vpnconfig.Config) error { // set dns excludes config.Split.ExcludeDNS = env.dnsSplitExc - // set exclude virtual subnets only IPv5 flag + // set exclude virtual subnets only IPv4 flag config.Split.ExcludeVirtualSubnetsOnlyIPv4 = env.bypassVirtualSubnetsOnlyV4