Changes

Jump to navigation Jump to search
m
no edit summary
Line 67: Line 67:  
=== I want to define a remote DNS server for a domain ===
 
=== I want to define a remote DNS server for a domain ===
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
config set myremotedomaine.cc domain-remote Nameservers=IP1,IP2
+
db domains set myremotedomaine.cc domain-remote Nameservers=IP1,IP2
config set myremotedomaine.com domain-remote Nameservers=IP3
+
db domains set myremotedomaine.com domain-remote Nameservers=IP3
 +
signal-event domain-modify
 
</syntaxhighlight>
 
</syntaxhighlight>
       
=== I want to add a pihole ===
 
=== I want to add a pihole ===
If you wan to add a pihole to remove some ads. The easy solution is to put it as dnsache Forwarder property, but the result is you might get generic results for your server. <syntaxhighlight lang="bash">
+
If you wan to add a pihole to remove some ads. The easy solution is to put it as dnscache Forwarder property, but the result is you might get generic results for your server. <syntaxhighlight lang="bash">
config setprop dnsache Forwarder mypiholeip
+
config setprop dnscache Forwarder mypiholeip
 
</syntaxhighlight>
 
</syntaxhighlight>
  
25

edits

Navigation menu