Newbie question about dns registrar

Hi!
This is a great distro!!
Maybe even I can manage to host my own server!?

I have only one (newbie)question:
Where do I edit dns registrar? Is it a file in /etc or where?

I hope someone can give me a hint!?

womp

What are you trying to do?

Did you buy a domain name and are looking for the values to enter in the registrar settings?
Try looking at this: DNS zone configuration | Yunohost Documentation

Or are you trying to do something else?

Hi and thank you so much for answer!

I am not trying to do anything special. I did get a couple of errors after diagnose and when I was going to edit dns I had no idea where to edit! And I still don’t! The docs say nothing about where to edit dns. I have never done this before but I want to learn!

womp

People need more information to help you. That’s why the Support forum has a template they tell you to follow.

  • READ ME AND USE THIS TEMPLATE IF YOU WANT TO GET HELP ! You may ask your question in english or french, whichever is easiest for you
 But please use one of the templates provided below :wink:
  • LISEZ-MOI ET UTILISEZ CE MODÈLE DE TOPIC SI VOUS SOUHAITEZ OBTENIR DE L’AIDE ! Vous pouvez poser votre question en anglais ou français, selon ce qui est le plus simple pour vous
 Mais de prĂ©fĂ©rence en utilisant l’un des deux modĂšles fournis ci-dessous :wink:

:uk:/:us: Message template (english)

The “support” category is meant to ask for help or troubleshooting related to installing or using YunoHost or its applications. It is not to ask assistance on general system administration, network administration or special use cases that goes beyond the scope of the project. If you wish to discuss more advanced use case, please post in the “Advanced Use Case” category.

Before posting, please :

My YunoHost server

Hardware: VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / 

YunoHost version: x.x.x
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | 

Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no / yes
If yes, please explain:

Description of my issue

To get help efficiently, please explain what you are trying to achieve, in which context, what you tried and provide detailed error messages and logs if you can.

Avoid saying that it “doesn’t work” or that it “does nothing” 
 explain what really happens and how you interpret it!

NB: we prefer you to share the full logs by clicking the green buttons “Share logs with YunoPaste”.
You can also copy them into paste.yunohost.org or directly include error messages using backticks like this :

Here are some error messages

:fr: ModÚle de message (français)

La catĂ©gorie “support” est destinĂ©e Ă  l’aide et au dĂ©pannage liĂ© Ă  l’installation et utilisation de YunoHost et de ses applications. Elle n’est pas destinĂ©e Ă  de l’assistance gĂ©nĂ©raliste pour l’administration systĂšme, rĂ©seau, ou pour les cas particuliers qui vont au dela de ce que propose le projet. Si vous souhaitez discuter de cas d’usage avancĂ©s, merci d’utiliser la catĂ©gorie “Advanced Use Case”.

Avant de poster, merci de :

Mon serveur YunoHost

Matériel: VPS acheté en ligne / Vieil ordinateur / Raspberry Pi à la maison / Brique Internet avec VPN / Autre carte ARM / 

Version de YunoHost: x.x.x
J’ai accĂšs Ă  mon serveur : En SSH | Par la webadmin | En direct avec un clavier/Ă©cran | 

Êtes-vous dans un contexte particulier ou avez-vous effectuĂ© des modificiations particuliĂšres sur votre instance ? : non / oui
Si oui, expliquer:

Description du problĂšme

Pour obtenir de l’aide efficacement, expliquez qu’est-ce que vous cherchez Ă  faire, dans quel contexte, qu’est-ce que vous avez essayĂ©, et les messages d’erreurs / logs dĂ©taillĂ©s si possible.

Évitez de dire que quelque chose ne “marche pas” ou ne “fais rien” 
 expliquez ce qui se passe vraiment et comment vous l’interprĂȘtez !

NB: nous prĂ©fĂ©rons que vous partagiez les logs complets en cliquant sur les boutons verts “Partager les logs avec YunoPaste”.
Vous pouvez aussi les copier dans paste.yunohost.org ou inclure directement ces messages en utilisant les “backticks” (accent grave) comme ceci :

Voici des messages d'erreurs

Fill it out and people might be able to help you better.

My YunoHost server:
Hardware: Semi-old Asus-laptop. Yunohost installed in Virtualbox.
I have bought my domain.
Yunohost version: 4.3.4.2
I have access through keyboard/screen and webadmin.
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

I am trying to make my own cloud storage and will use it for work (and more).

Here is an error message:
“Some DNS records are missing or incorrect for domain det-sovande-folket.org (category extra).”
I have an idea about what to edit but I have no idea where to edit.
Which file should I edit?

Thankful for a hint!

womp

That is a bit harsh advice without explanation. It is possible, it is even the first mentioned install on our installation page!

The reason for advising against it is that it is more difficult to troubleshoot, especially when you just start hosting your services. The reason to pick a VM for a starting Yunohoster, is that they may have no experience installing Linux on bare metal.

In this case, routing seems in place, else the diagnosis would give many more warnings than only DNS. (If not, this thread will get much longer :-P)

Yes it is! I am sure you can, welcome to the forums :slight_smile:

4 Likes

Hi!
I thank you so much for input!!

I will look into it as soon as possible!

womp

Hi again!
I am thankful for your input!!
Managed to get further!
One problem persist, but that is because my ISP don’t open port 25.
This does not seem to be a big problem but are there other solutions I could try?

womp

You can try to use a VPN. More info here → Advantage of a VPN for self-hosting | Yunohost Documentation

Bummer :frowning:

That would circumvent the problem, but usually means paying for a VPN. It should also be possible to use your ISP’s mail server as a relay. I have not yet used that way myself; there are some examples on the forums how to configure it.

1 Like

I have gotten myself a vpn and am going to try to firgure this out!
Thanks guys!

womp

1 Like

My Yunohost is now up and running!!
I have installed Nextcloud to be able to share files from work. (I have other ideas too for later when I hopefully know more).

I do still have trouble with dns (category mail) and I thought I may have to install a simple mail-server in Yunohost for this?

I use vpn now and I thought it should be sufficient to use vpn on the host (virtualbox sharing/bridging internet connection).

Later on I am planning for installing yunohost on real hardware.

womp

Great, well done!

The simple, fully fledged mailserver that is at the basis of Yunohost is already installed.
The DNS for email is a bit more convoluted than those for ‘just’ a website, in an attempt to fight spam. For your website you only need an A-record (and an AAAA-record foor IPv6).

For email there are TXT-records on the side of the DNS, and a reverse DNS (rDNS or pointer) at the side of the IP-owner. In case of your VPN, you should be able to configure rDNS in one of the settings of the management interface. What does the Yunohost diagnosis tell?

Great! Now I just have to find the file/files to edit. Which is it? Postfix?
Do I login as root and find it in /etc to edit?

womp

No, none of the DNS-settings are (usually, exceptions apply :stuck_out_tongue: , but not in your case) on your own server.

I got a VPS where the rDNS setting looks like this :

image

It is a screenshot of the hosting providers’ management interface for the VPS.

The other DNS settings are not there. I got my VPS and my domain at different providers. In this case, the DNS is dns.he.net, who provide free DNS services up to 50 domains (and it works partly automatic with Yunohost :partying_face: )
You will have to do something similar as this, but then on the same place as where you entered your main domain (A-record and AAAA-record):

Ok. I will see what I can do. Have to look closely at joker.com then!

Thank you so much for showing your example!

womp

Tey have a FAQ page about all their supported resource types, but I couldn’t find a screenshot of their interface. They also mention PTR/rDNS records in one of their other FAQs (together with the message that it is configured at the place that controls the IP address: your VPS)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.