Posts

Showing posts with the label dns

How to get all hosts from DNS

dig AXFR your-domain.com @your.dns.server.com Example output: a.your-domain.com.    38400    IN    A    128.123.123.123 b.your-domain.com.    38400    IN    A    128.123.123.123 c.your-domain.com.    38400    IN    A    167.128.123.123  Your IP Address must be included in Allow transfers from..  

DNS over HTTPS using Dingo

UPDATE: It is easier to achive similiar result using systemd Edit /etc/systemd/resolved.conf and change these lines: FallbackDNS=8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844 DNSSEC=yes systemctl daemon-reload and use 8.8.8.8 as your dns in network manager Download binary https://github.com/pforemski/dingo and copy to /usr/local/bin/ Create systemd unit vim /etc/systemd/system [Unit] Description=Dingo Wants=network.target [Service] Type=simple ExecStart=/usr/local/bin/dingo-linux-amd64 -port 53 -gdns:auto StandardOutput=null Restart=on-abort   [Install] WantedBy=multi-user.target systemctl daemon-reload systemctl enable dingo systemctl start dingo Use it in resolv.conf or enter in Network Manager echo nameserver 127.0.0.1 > /etc/resolv.conf

Bypass your ISP DNS blocking

Follow this instruction to bypass your ISP DNS blocking  (I'm using Fedora 24) Ikuti langkah di bawah ini untuk menghindari pembatasan situs oleh ISP # Install the package dnf install dnscrypt-proxy # To start manually dnscrypt-proxy -R cisco # To start automatic using systemd vi /etc/systemd/system/dnscrypt-proxy.service [Unit] Description=DNSCrypt client proxy Documentation=man:dnscrypt-proxy(8) After=network.target Before=nss-lookup.target [Install] WantedBy=multi-user.target [Service] Type=forking ExecStart=/sbin/dnscrypt-proxy  -R ovpnse -S -d -u nobody systemctl enable dnscrypt-proxy.service systemctl start dnscrypt-proxy.service # To use it echo 'nameserver 127.0.0.1' > /etc/resolv.conf # or change DNS in network manager ping www.reddit.com # Tips You can download latests resolver from https://raw.githubusercontent.com/jedisct1/dnscrypt-proxy/master/dnscrypt-resolvers.csv and replace this file /usr/share/dnscrypt-proxy/dnscr...