YourWebTech documentation

What is DNS?

A beginner-friendly explanation of how DNS works, common record types, and how to manage DNS for your .ch or .li domain.

What is DNS?

The Domain Name System (DNS) is the internet's phone book. When someone types example.ch into their browser, DNS is what translates that name into the IP address of the server hosting the website. Without DNS, you would have to remember numeric addresses like 185.12.7.49 for every site you visit.

New to DNS? Our beginner's guide to DNS explains the concepts (the DNS hierarchy, nameservers, and how a lookup works) before you start editing records here.

How DNS works

Here is what happens when a visitor types your domain into a browser:

Browser asks a resolver — The visitor's device contacts a DNS resolver (usually provided by their internet provider or a service like Cloudflare's 1.1.1.1).

Resolver finds the nameservers — The resolver asks the root servers, then the .ch registry (SWITCH), to find out which nameservers are authoritative for your domain.

Nameservers return the record — Your domain's nameservers look up the requested record (for example, an A record for the website's IP address) and send it back.

Browser connects — The browser uses the IP address to connect to the web server and load the page.

This entire process typically takes milliseconds. Once resolved, the result is cached so repeat visits are even faster.

Common record types

You do not need to memorize all DNS record types. Here are the ones you will use most often:

RecordPurposeExample
APoints a domain to an IPv4 addressexample.ch185.12.7.49
AAAAPoints a domain to an IPv6 addressexample.ch2001:db8::1
CAAControls which certificate authorities can issue SSL certificates0 issue "letsencrypt.org"
CNAMEPoints a domain to another hostnamewww.example.chexample.ch
HTTPSPublishes HTTPS service binding hints1 . alpn=h2
MXRoutes email to a mail serverexample.chmail.provider.com
TXTStores text data (SPF, DKIM, verification)v=spf1 include:_spf.google.com ~all
NSSpecifies the nameservers for the domainns1.ywt.ch

When you register a domain with YWT, we create the DNS zone and assign YWT nameservers by default. Add the records you need for websites, email, verification, and forwarding from the DNS management panel.

DNS at YWT

YWT provides a full DNS management panel for every domain registered with us. You can add, edit, and delete records directly from the domain detail page in your account. If you prefer to use external nameservers (like Cloudflare), you can update your nameserver settings instead.

The domain DNS management panel with YWT nameservers, DNS record controls, and DNSSEC settings

Next steps

On this page