Nameservers in ETC/Virtual?

victor_50

Verified User
Joined
Dec 19, 2021
Messages
7
Location
Amsterdam NL
As the propagation of nameservers is slow, let alone the site itsself. I wondered if the nameservers should be in ETC/Virtual. I didn't see them added automatically, so I did so by hand. Not sure if this is necessary or helps. I really would have stayed with the DNS servers of my registrar, but it looked impossible to create a reverse lookup there. Maybe there is some special way to do that in DA?
 
Maybe there is some special way to do that in DA?
Nope. rDNS records (also called PTR records) can also be created by the registrar or the datacenter your server is present. If that is what you mean with a reverse lookup.
You can create PTR records in DA, but they won't do anything, so it's no use.

I wondered if the nameservers should be in ETC/Virtual.
No way. If you added them by hand, you did it wrong. At least....
What exactly did you add manually in /etc/virtual?
 
You can create PTR records in DA, but they won't do anything, so it's no use.
I wonder why https://docs.directadmin.com/other-...add-a-reverse-ip-lookup-on-your-ip-ptr-record is in the DA documentation (and referenced in instructions to setup mail) if it is no use.

I added ns1.servername.domain.eu and ns2.... as folders and in the "domains" file, just like the others. Of course the ns' are set with my registrar.

It didn't help anything, after 36 hrs the nameservers still have reached only 5% of the servers on https://dnschecker.org (same as after 24 hrs) Then it resolves as an "A" record, not "NS". Not sure what that means.

Regards, Victor
 
if it is no use
You read it wrong. It's no use for nameservers. That's why I wrote "if that is what you mean..." etc..
You can create PTR records, if you use dedicate ip for something and you need PTR, normally this is not used, but because it's DNS it is possible. However, it's not for nameservers.

You can remove both folders again, they should not be in there and that is not the way to setup nameservers. If you found the docs, you should have found how it's done.


You have to have, two A records and 2 NS records for your nameservers to work.

If only an A record resolves, that means you did not create the NS records. Seems that is not clearly in the docs. @scriptkitty can you check this?
Records for NS1 and NS2 should also be made. I don't see that in the docs.

They should look like this:
yourdomain.com.3600
NS​
ns1.yourdomain.com.
yourdomain.com.3600
NS​
ns2.yourdomain.com.

Mind the trailing dots!
 
Hi Richard, the records are all there (however, the right hand is "ns1" without dot but that should amount to ns1.yourdomain.com.
In fact I switched to ns in DA in order to be able to create reverse lookup for the email, not possible at Versio. I will do one more try with a simpler name (ns1.domain.eu in stead of ns1.server.domain.eu) then I will give up.
 
It looks you are really messing and mixing things here.

to be clear
1. Are you using your own DNS servers ? than DA takes care of your NS setting, only thing you have to do is mention your NS and their IP's at your registrar (Versio? )
2.rDNS setting are maintained at your server provider, are you using an VPS or Dedi from Versio ?, that is the place where you must add this (usually there is an panel where you can do that).
3. To avoid problems , delete all the records you have added manually and set the NS records to default
 
@Active8 I actually switched to using own nameservers in DA (because reverse lookup). So I thought I followed instructions by setting the DNS records (A, NS) and of course set them at my registrar. Now I just tried "create nameservers" in DA. I get the error that "domain.com" does not resolve. Not very funny as the domain is supposed to have its own nameserver... So this looks like a catch 22, and leaves me wondering if it is possible at all. Still wondering why the domainservernames I set at my registrar do not propagate properly. I still have a reseller account with my registrar with some websites in DA and the (virtual) there server has it's own nameserver (and a second one, not "own") by default, settings not accessible from the reseller account.

I think I give up for now and set DNS at my registrar. Maybe I should first do that and then create nameservers.
 
Now I just tried "create nameservers" in DA.
If I recall correctly , DA already creates your first NS1 and NS2 right after your setup your server (assuming you are using syntax srv1.server.com or similar).
what do you see at your DA panel as admin and login as user for server.com (server.com is here example) and check the NS records ?
I actually switched to using own nameservers in DA (because reverse lookup)
You can do that without using your own NS servers :)
 
My DA is the limited version with one user : admin. I didn't have much control over the creation of the server. First tries installing DA failed because of CENTOS 8. Had to reïnstall the virtual server with another distro. My registrar doesn't support reverse lookup. It seems you can ask for it.
 
My domain is found again with the DNS/namservers of my registrar. Now I tried to remove the NS and matching A records, but this was forbidden, I have to make new ones first. Then I tried to create server(s) but that wasn't possible too. the '" default nameservers for new users" can't be removed. What a mess.
 
(however, the right hand is "ns1" without dot but that should amount to ns1.yourdomain.com
No. You can use the ns1 on the left hand side, not the right hand side. Then it will automatically go the full domain. But I think you did it like that.

Nameservers are indeed setup with your registrar, so Versio I think in your case. I've been customer there too.
But PTR records should be possible to be set up via the control panel of your VPS/Server provider.
If Versio also provided your vps/server then you have to ask them as this will probably either not be in the domain panel you have access to, or they don't allow their customers to do it and you have to ask them to set it.

default nameservers for new users" can't be removed.
Yes it can, but it takes a bit of working around, you need to "free" them first. It's a bit of a learning curve.

As @Active8 said, you don't really need own nameservers with a personal license. It might be a bit easier to work with as you don't have to copy some things to external nameservers. But it's not needed.

If you want you can send me a pm, dan praten we in het Nederlands.
 
But PTR records should be possible to be set up via the control panel of your VPS/Server provider.
Ah, I already thought it should be at the server-side, but wasn't aware that there was a facility for it. Now I looked at it at Leaseweb and found out under "IP - management" you can set it. I 'll PM anyway.
 
Back
Top