I'm a bit struggling with using a domain to connect a domain with my server. First of all, I'm using a Debian Linux(of course actually Raspbian, because the server is running on Raspberry Pi 3).
Let's suppose my domain is lalala.co.kr(bought from a domain provider) and my IP is 188.8.131.52. I found that Raspberry Pi can have a DNS server, but I don't think the DNS will help establishing connection with those(domain and IP).
To explain, My domain provider has some of 'name servers'. They have 'Change name server' option for a domain, and if I use their 'name servers' and make some A records for 'name server hosting' then I can make a connection with those.
However I cannot come up with configuring 'name server' and making A records in Raspberry Pi's own.
Let's suppose that the domain provider's name server IP is 184.108.40.206. How can I solve this problem? I want to not use the domain provider's default name server config, because this cause some money expenses. I'm really confused with some networking concepts. I'll appreciate for some intuitions for solving this problem. The server can be connected by using direct IP connection(which means the server is externally open for some web ports and DNS port).
If I gave insufficient informations, please ask to provide them.