Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
blocks:server:advanced_server_configuration:dns_server [2023-03-14 10:36] mattias created |
blocks:server:advanced_server_configuration:dns_server [2024-10-25 08:01] (current) admin Obsolete |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | :!: **IMPORTANT**: | ||
+ | |||
===== DNS Server ===== | ===== DNS Server ===== | ||
Line 13: | Line 15: | ||
{{ : | {{ : | ||
- | The name " | + | |
+ | The name " | ||
:!: There' | :!: There' | ||
Line 31: | Line 34: | ||
{{ : | {{ : | ||
+ | |||
+ | ==== Enabling and Starting the DNS Server ==== | ||
+ | |||
+ | To start your DNS server, and to make sure that it will start automatically if the server is restarted, select " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ==== Create a new DNS Zone Master Record ==== | ||
+ | |||
+ | This article is related to a general network topic outside the scope of blocks. We strongly recommend that you consult with a network professional for assistance in this area. | ||
+ | |||
+ | To use your own domain name, add a Zone Master Record. If visitors can use their own devices for accessing your server by this name, use a domain name that you own. You can then also publish instructions on an internet-accessible web server advising visitor to log on to the local wifi first. | ||
+ | In this example, we'll add the “my.guide” domain, which will work alongside the default " | ||
+ | |||
+ | Start by logging in to webmin, by entering [your servers IP address]: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Click the Create master zone button, then enter your domain name, the server address and an email address. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Finally, click the " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Enter your domain name and the IP address of your server and click create. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Finally, restart the DNS-server or the computer. (This can be done in webmin, System/ | ||
+ | |||
+ | ====Update DNS records for a new server IP address==== | ||
+ | |||
+ | If you change the IP address of computers on the network you wish to reach by name, you must also make the corresponding changes to the DNS records for those computers. | ||
+ | |||
+ | * Use Webmin. | ||
+ | * Select //BIND DNS Server// under the Servers heading on the left hand side. | ||
+ | * Click the // | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * Click the Addresses button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * Click the pixi.guide. record to open the edit window. | ||
+ | * Enter the desired IP address. | ||
+ | * Click save. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Restart the DNS server by clicking the " | ||
+ | |||
+ | ==== Verify Operation of the DNS Server ==== | ||
+ | |||
+ | To verify that the DNS server is running and response properly, open a terminal window on a separate computer on the same network, and type | ||
+ | |||
+ | '' | ||
+ | |||
+ | This will attempt to look up the name given to the server. If your other computer is indeed using your newly configured DNS server, it should look up the name there, and give you a result like this. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | This response provides you with the following information: | ||
+ | |||
+ | * The server being used is at address 10.2.0.10 (which is the address of the BLOCKS server, now also acting as a DNS server). | ||
+ | * The adress being resolved for the name " | ||
+ | |||
+ | Here are some things to check if you don't get the expected response: | ||
+ | |||
+ | * Ensure that your separate computer is connected to the same network as the server (open a terminal window and type "ping 10.2.0.10" | ||
+ | * Are you using the BLOCKS Server as the DHCP server, as described earlier in this article? If so, it should provide your separate computer with its own IP address as the DNS adress. See under [[#Verify Operation of the DNS Server]] above. | ||
+ | * Are there other enabled network interfaces on your separate computer? If so, that network can specify another DNS which may take precedence. This will be indicated by the Server address shown not being the IP address of the local BLOCKS server. If so, disconnect that network and try again. | ||
+ | |||
+ | |||
+ | |||