Dns wildcard mapper
Copy the build files to home directory and unzip.
wget sudo apt-get refresh sudo apt-get install unzip unzip
[Unit]
Description=Dexih Dns Service
[Service]
WorkingDirectory=/home/dexih
ExecStart=/home/dexih/Dexih.Dns
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
SyslogIdentifier=dexih.dns.
User=root
# the IP address for the web server to resolve at dexih.com
Environment=AppSettings__RootIpAddress=13.59.37.106
Environment=AppSettings__RootDomain=dexih.com
# the Ip address of each dns server
Environment=AppSettings__DnsIpAddresses__0=18.188.63.154
Environment=AppSettings__DnsEmail=gholland.dataexpertsgroup.com
Environment=AppSettings__DnsTtl=300
Environment=AppSettings__DnsTxtUrl=https://dexih.dataexpertsgroup.com/api/Remote/GetTxtRecords
Environment=Logging__LogRequests=TRUE
Environment=Logging__LogErrors=TRUE
[Install]
WantedBy=multi-user.target
sudo systemctl stop systemd-resolved
edit /etc/systemd/resolved.conf
[Resolve]
DNS=8.8.8.8
#FallbackDNS=
#Domains=
#LLMNR=no
#MulticastDNS=no
#DNSSEC=no
#Cache=yes
DNSStubListener=no
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
sudo systemctl start systemd-resolved
./create_service.sh
./start_service.sh
./log.sh 100
Use the dns checker: