Posts with the tag DNS

Updating DNS Entries (with nsupdate or alternative implementations) – Run Your Own DynDNS Service

Please refer to my newer and more complete blog post on this topic: Deploy Your Own Bind9 based DDNS Server.


dyndns.org has stopped serving DynDNS for free to the great public. If have a (virtual) server, you can simply host your own dynamic DNS service. The most common DNS server...

Read on

A Collection Of Reliable Public DNS Servers

TODO: Write a script to ping all the IPs and find the best (fastest). Put it online as a gist on GitHub.

Google

http://code.google.com/speed/public-dns/docs/using.html

  • 8.8.8.8
  • 8.8.4.4

IPv6:

  • 2001:4860:4860::8888
  • 2001:4860:4860::8844

Level3 / AT&T

  • 4.2.2.1
  • 4.2.2.2
  • 4.2.2.3
  • 4.2.2.4
  • 4.2.2.5
  • 4.2.2.6

More

  • 195.92.195.90 - Orange DNS (ISP)
  • 156.154.70.1 - DNS Advantage

OpenDNS

use.opendns.com
www.opendns.com/ipv6

  • 208.67.222.222
  • 208.67.220.220

IPv6:

  • 2620:0:ccc::2
  • 2620:0:ccd::2

Freenet6

IPv6:

  • 2001:5c0:1000:11::2
  • 2001:5c0:1001::194

How To Find Out Who's Operating a DNS Server

Run whois on the IP:

philipp@lion:~$ whois 8.8.8.8

Google Incorporated LVLT-GOOGL-1-8-8-8...

Read on

Generate Bind Reverse Zone File Using A Simple Python Script

When I had to create a reverse DNS zone file for my Bind name server I wanted it to be as flexible as possible and thus created a Python script that generates the Bind zone file. This makes renumbering the network really easy.

The script is available as a gist...

Read on

Install DNSmasq locally on Mac OS X via Homebrew

This post describes hot to use dnsmasq as a local DNS server for faster caching and to resolve domain names in your private address space.

Installing dnsmasq

Installing dnsmasq is easy when you have Homebrew installed on your Mac:

brew update && brew install dnsmasq

And follow Homebrew's hints on...

Read on

Investigating Domain Update Errors (ERROR: 901 Unexpected RCODE - SERVFAIL)

Today I wanted to try out the DNS Service by Hurricane Electric (including a free IPv6 DynDNS service): https://dns.he.net. I have a spare domain and tried to update my domain information to the new nameservers (from the set ns1.he.net, ns2.he.net, ns3.he.net, ns4.he.net, ns5.he.net) at Denic, the German TLD...

Read on

Access the InterNetworX XML-RPC API via Python

The Domain Hoster InterNetworX (abbr. inwx) offers an XML-RPC interface to access its services. You can even register new domains. Documentation of the XML-RPC API is available for download at https://www.inwx.de/de/download/file/api-current.zip (including examples in PHP & Java plus a PDF describing the API).

There is an operational test environment (ote) to...

Read on

Web Interfaces for the Bind DNS Server

API solutions:

Not a...

Read on

Get your own DNS server up and running with Bind9 on Ubuntu or Debian

The goal of this article is to describe how to setup your own DNS server to serve the domain name service entries for a TLD (example.com). In the last part of the article I describe how to increase the speed of the system and the security in...

Read on

Custom DNS entries per domain (nice feature for VPN setups)

OS X has a good feature built in: the dns resolver. It allows you to specify different DNS servers for different domains. After creating the /etc/resolver directory, you can create a /etc/resolver/erdelynet.com file with nameserver 192.168.25.10 in it to redirect DNS requests for this domain to that specific nameserver.

resources

...

Read on

Workaround for problems with constantly changing resolv.conf

When you don't want other software (like network manager) to mess with your DNS server settings, make /etc/resolv.conf immutable:

sudo chattr +i /etc/resolv.conf

It can be undone like this:

sudo chattr -i /etc/resolv.conf

resources

http://ubuntuforums.org/showthread.php?t=435525

...

Read on

Slow Network Due to DNS Problems

Let's say you network is kinda slow and you are sure that there is nothing wrong with your hardware (broken cables, bad switches etc.). The first thing you should have a look at are your DNS servers. If the primary one is unreachable and the secondary is, you network works...

Read on

DNS Lookup on The Terminal

Use the CLI programs host or dig to resolve domain names to IPs (and get some more information).

So when you run host example.com for example you will get the answer

example.com has address 192.0.32.10
example.com has IPv6 address 2620:0:2d0:200::10

The output of the run of dig example.com is more detailed:

<pre...

Read on