Asked by duncanb7
at 2024-07-26 22:49:08
Point:500 Replies:10 POST_ID:828618USER_ID:11059
Topic:
Apache Web Server;Linux Networking;Domain Name Service (DNS)
As we know we can manually set DNS IP at ISP connection on window easily as follows
(http://windows.microsoft.com/en-us/windows7/change-tcp-ip-settings)
Usually we will set Global or ISP provided public DNS IP such as 8.8.8.8 or 8.8.4.4 Google DNS for internet connection by auto or manually
The question can we use my Linux server as DNS server and using my server IP such as
212.1.210.209 that will replace 8.8.8.8 and do the same function of Goolge DNS server ?
212.1.210.209 is internet IP for both mysite.com and nameserver DNS IP
The testing, we can set facebook.com zone record file at my linux server and if we can
go to facebook.com after settup zone file on my server successfully
the test is successful. But how to do the setup at /etc/resolv.conf, /var/named/facebook.com.db and at /etc/named.conf for IP address of http://facebook.com ?
So in other words, my linux DNS server only resolve both IP of website only(mysite.com and facebook.com) in this testing cases, other website can NOT be resolved to since no zone record file on my server
please advise
Duncan
(http://windows.microsoft.com/en-us/windows7/change-tcp-ip-settings)
Usually we will set Global or ISP provided public DNS IP such as 8.8.8.8 or 8.8.4.4 Google DNS for internet connection by auto or manually
The question can we use my Linux server as DNS server and using my server IP such as
212.1.210.209 that will replace 8.8.8.8 and do the same function of Goolge DNS server ?
212.1.210.209 is internet IP for both mysite.com and nameserver DNS IP
The testing, we can set facebook.com zone record file at my linux server and if we can
go to facebook.com after settup zone file on my server successfully
the test is successful. But how to do the setup at /etc/resolv.conf, /var/named/facebook.com.db and at /etc/named.conf for IP address of http://facebook.com ?
So in other words, my linux DNS server only resolve both IP of website only(mysite.com and facebook.com) in this testing cases, other website can NOT be resolved to since no zone record file on my server
please advise
Duncan