Articles on: Deployment

How to configure Windows PC to use Lumiun DNS via DoH

This configuration will make your Windows PC forward its DNS requests to the Acrylic service, which will then forward the requests using the DNS-over-HTTPS protocol to the Lumiun DNS servers.

Configuring Windows PC to use Lumiun DNS via DoH with Acrylic



Install and configure Acrylic


Obtain the Acrylic software installer from the following link: Download Acrylic DNS Proxy
Install Acrylic on the Windows PC.
Search for the Acrylic UI shortcut in the Windows Start menu and run it.
In the Acrylic management interface, go to the menu FileOpen Acrylic Configuration
Remove all old configuration content and add only the following - replacing abcd1234 with the desired site ID - see what the ID is on the S page.
[GlobalSection]

PrimaryServerDoHProtocolPath=abcd1234

PrimaryServerAddress=76.223.1.120
PrimaryServerPort=443
PrimaryServerProtocol=DOH
PrimaryServerDoHProtocolHost=doh.ldns.io
PrimaryServerDoHProtocolConnectionType=System
PrimaryServerDoHProtocolReuseConnections=Yes
PrimaryServerDoHProtocolUseWinHttp=Yes
SinkholeIPv6Lookups=No
ForwardPrivateReverseLookups=No
AddressCacheFailureTime=1
AddressCacheNegativeTime=10
AddressCacheScavengingTime=5
AddressCacheSilentUpdateTime=4
AddressCachePeriodicPruningTime=180
AddressCacheInMemoryOnly=Yes
AddressCacheDisabled=No
LocalIPv4BindingAddress=127.0.0.2

[AllowedAddressesSection]
IP1=127.*


Save the new configuration through the menu FileSave or by pressing Ctrl+s.
Restart the Acrylic service through the menu ActionsRestart Acrylic Service.
Close the Acrylic management window.

Configure Windows to send DNS requests to Acrylic


Open PowerShell in Administrator mode: in the start menu, search for PowerShell, right-click on the item, and select Run as administrator. In the confirmation window, click Yes.
Copy the command below, paste it into PowerShell, and execute it by pressing Enter.
Get-WmiObject -Class Win32_IP4RouteTable |
where { $.destination -eq '0.0.0.0' -and $.mask -eq '0.0.0.0'} |
Sort-Object metric1 | select interfaceindex |
set-DnsClientServerAddress -ServerAddresses ('127.0.0.2')


Done! Now you can view the reports on your Lumiun DNS panel and also set the rules of the Policy.

Updated on: 12/07/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!