Jun 5, 2018
20
1
3
Vejle
cPanel Access Level
DataCenter Provider
Hi All

I am setting up a new nameserver, ns1.example.dk for testing purposes.
I have transfered a zone file, into var/named, and can now see it in DNS zone editor, and edit it.
I can do a nslookup from the cpanel main machine, to the server ns1.example.dk, and get the correct answer.

But when i do a nslookup using another machine, eg. my own PC.
It says Server can't find domain: refused.

nslookup somethingærke.dk ns1.example.dk

Server: ns1.example.dk

Address: 62.243.xxx.xx#53


** server can't find something\195\166rke.dk: REFUSED

but if i do it using the punycode/ascii code, it works fine.

Does that sound okay, or have i done something wrong ?
 
Last edited by a moderator:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hi @kimsondergaard

Firstly I want to point out that nslookup is deprecated and has been for some time, instead of using nslookup you may want to look at using dig.

As for the behavior you're referencing I believe this is expected as I don't think all the punycode is recognized. I checked out the man page for any details but it doesn't appear that they have made any acknowledgments either way.
 
  • Like
Reactions: kimsondergaard
Jun 5, 2018
20
1
3
Vejle
cPanel Access Level
DataCenter Provider
Hi @cPanelLauren

Thanks for the reply, does the DNS server answer to all requests by default ?
And therefor it should be working as long as it is possible to connect on port 53 ?

Or do i have to edit some config, before it will be seen as a valid DNS on the WAN side ?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hi @kimsondergaard

Yes, it should be answering all requests by default unless port 53 is closed. You shouldn't need to change anything. You may want to double check the configuration of firewall if you're unsure.