Disable systemd-resolved on Ubuntu/Deb/CentOS

systemd-resolved provide DNS resolver facility in newer version of Linux servers running systemd. I prefer manually editing /etc/resolv.conf and add resolvers. If you are running your own DNS server, then you need to disable systemd-resolved as it listen on port 53, with out disabling the service, you can’t start your DNS server. To disable systemd-resolved, … Read more

Requesting a zone trasnfer with dig

To request a zone transfer using dig, use dig @NAME_SERVER_HERE -t AXFR DOMAIN_NAME_HERE Example [root@vps3 poweradmin]# dig @server10.hosthat.com -t AXFR bizhat.com ; DiG 9.5.1-P2-RedHat-9.5.1-2.P2.fc10 @server10.hosthat.com -t AXFR bizhat.com ; (1 server found) ;; global options: printcmd bizhat.com. 86400 IN SOA dns10.hosthat.com. hostonnet.gmail.com. 2008091126 7100 7200 2419100 86400 bizhat.com. 14400 IN MX 0 server52.hosthat.com. bizhat.com. 86400 … Read more

Wildcard DNS zone in bind

Wildcard DNS zone will act as authoritative DNS for any domain name. This is useful when you have a service like domain name parking service, where customers will change name servers of their domain name to your private label name servers. You need all thse domains get resolved to a specific IP address with out … Read more

bind

bind is a DNS server. To check bind configuration for errors, run named-checkconf -z /etc/named.conf if chroot named-checkconf -z -t /var/named/chroot /etc/named.conf dns working inside server, not outside install bind from yum configure bind as dns slave enable loging in bind install bind from source bind errors CentOS 7 Plesk server DNS not starting Wildcard … Read more

Install Unbound DNS caching server

Unbound is an Open source DNS caching and recursive resolver. You can find more about unbound at https://nlnetlabs.nl/projects/unbound/about/ To install unbound on Ubuntu/Debian, run apt install unbound To start unbound systemctl start unbound Set unbound to start on boot systemctl enable unbound To configure your server to use local name servers provided by unbound, edit … Read more

Free DNS Hosting

Free DNS Hosting https://www.cloudflare.com https://desec.io – Open Source. Source code https://yandex.com/support/domain/domain/dns.html https://www.cloudns.net/ https://dns.he.net/ https://www.duckdns.org/ https://www.dynu.com/ https://www.luadns.com https://ns1.com – Developer plan with 1 domain is free Paid DNS Hosting Google Cloud DNS – $0.2 per domain. Traffic will be charged at $0.40 per million queries per month. Free Dynamic DNS https://www.duckdns.org/

Delegate a sub domain to DNS server

To point a domain to another server, you can create an A record, point to the server. If your provider only provide name servers and no fixed IP, you can create NS record for your sub domain like sub.domain NS ns1.nameserver.com sub.domain NS ns2.nameserver.com Here is how i added NS record in Amazon Route 53

Dig

dig is a command line tool like nslookup used to check dns Find Reverse-DNS/PTR using dig, nslookup, host Requesting a zone trasnfer with dig Here is the basic usage dig DOMAIN_NAME dig have multiple sections, ANSWER SECTION is what you need to look for. After answer section, it shows some info about DNS server used … Read more

DNS Resolver

CloudFlare announced privacy-first consumer DNS service. IP of CloudFlare public DNS servers are 1.1.1.1 1.0.0.1 So far i was using Google Public DNS servers as my resolver. 8.8.8.8 8.8.4.4 Quad9 Quad9 is from IMB and Global Cyber Allience. https://www.quad9.net 9.9.9.9 Other public DNS server is OpenDNS 208.67.222.222 208.67.220.220 All these DNS servers have good connectivity … Read more

DNS Tools

Reverse DNS/rDNS/PTR Record How to delete Google Cloud DNS Zone DNS Tools https://dnschecker.org https://intodns.com https://dnsmap.io http://leafdns.com https://dnsviz.net https://www.dnsperf.com dig Google Public DNS Query Tool DNSSEC Debugger Find all sites using a specific nameserver DNS History https://securitytrails.com/ – IP history https://completedns.com/dns-history/ – DNS History DNS Propagation Checker https://dnsmap.io – check DNS propogation from differnt countries. Whatsmydns.net … Read more