I suspect I have a problem with domain delegation.


  • Following addresses and names are examples
  • I have two public static IPs and own a domain name
  • I'm using Debian 9 and Bind 9

I want something like this (IPs are public): on is DNS server ns1.example.com which points example.com to

I succesfully configured ns1.example.com as authoritative and forwarding DNS server (with above configuration). I DMZ port 53 (UDP).

Next step I tried to delegate domain (example.com) from Registrar's DNS server to my own (ns1.example.com) I get "wrong record". When I contacted Registar's helpdesk the tell me I did not register the server, and I should contact my hosting provider (which is me...). What do they mean?

  • 1
    For IP addresses, please use the designated ones for documentation: or or See tools.ietf.org/html/rfc5737 – Patrick Mevzek Dec 20 '17 at 18:34
  • Note that DNS does not use only UDP, but also TCP so if you filter that you will get problems. Also it is a bad idea to have the same server being authoritative and recursive (is this what you mean by 'forwarding'?). – Patrick Mevzek Dec 20 '17 at 18:37
  • It would help if you get the true names involved, that will be far quicker to solve the problem. If you are using a gTLD based domain name you need to register the name server at registry, through your registrar. They should be able to help you otherwise you can change it. It also depends if the nameserver is internal/external and in-bailiwick or not. In short, you do not provide enough information to help you. – Patrick Mevzek Dec 20 '17 at 18:38
  • You need to ask your registrar to set up what are known as "glue records". Once that is done, you can use ns1/ns2.example.com as the primary and secondary name servers on your actual domain registration for example.com – ivanivan Dec 20 '17 at 19:07

Because ns1 is under example.com you must "register" this IP with them, these are called GLUE records. Essentially A records added to the zone .com. so servers know what IPs to query.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.