if we create a local network that there is a computer server and local web server. certainly you will also configure the DNS server so that web can be accessed using the domain name (eg google.com).
I did not explain how to configure a DNS server. this post I want to share a settlement of the problems I've ever experienced in practice the DNS server. after the DNS server has been configured. You also must set up the DNS client. Generally, we only need to enter DNS server IP. Different operating systems are also different way. if in our windows facilitated by a GUI (Graphic User Interface) is very friendly. in linux there were also some who have been using the GUI. but sometimes there is little constraint on linux.
problem is that sometimes not all network devices detected in the GUI. only detected if we use the command ifconfig. therefore we need a way of manually setting up the DNS client. this way.
1. open terminal
2. vi /etc/resolv.conf
3. add the text below
search yourdomain.com
nameserver ipnameserver
example :
search google.com
nameserver 192.168.2.1
4. save
5. check with command nslookup
example :
nslookup google.com
In the context of client-server architecture, a server is a computer program running to serve the requests of other programs, the "clients". Thus, the "server" performs some computational task on behalf of "clients". The clients either run on the same computer or connect through the network.
In most common use, server is a physical computer (a hardware system) dedicated to running one or more such services (as a host), to serve the needs of users of the other computers on the network. Depending on the computing service that it offers it could be a database server, file server, mail server, print server, web server, or other.
In the context of Internet Protocol (IP) networking, a server is a program that operates as a socket listener.
Servers often provide essential services across a network, either to private users inside a large organization or to public users via the Internet. For example, when you enter a query in a search engine, the query is sent from your computer over the internet to the servers that store all the relevant web pages. The results are sent back by the server to your computer.
0 comments:
Post a Comment