Thanks a lot, I managed to solve a fault in my server, referring to the section of the configuration of setbool I activate them and I worked, thanks valuable contribution.
You can follow steps it's all working. Just need to be aware of dots in the end of writing your own domain name. Minuses no sound and explanation of some commands. Waiting for postfix video.
HOLA si compre un dominio sin hosting por lo caro, con esta configuracion puedo gestionar mi dominio y enviar y recibir correos a servidores externos como gmail?
Sir, I have purchase a domain called itaugur.online with one year subscription. This is only for learning DNS server as like real time production server.. But, I can't understood that how to configure SOA record with given information. Please help me...
Hi, when i ping or do nslookup of the domain name : nslookup abcdtechnologies.local it returns info: Server: 192.168.1.200 Address: 192.168.1.200#53 Name: abcdtechnologies.local Address: 192.168.1.200 But i can't visit this on my browser. Y? Awesome video by the way... :)
DNS use 53 port, It just work as translate Server name to IP Address and IP Address to server name. Browser work at by default 80, 443 port. if your name server IP is 192.168.1.200 and hostname is ns.abcdtechnologies.local , now you wont to work this server as a web server also, then you need to install httpd (#yum install httpd -y), create a webpage in document root(/var/www/html) , set firewall, edit configuration file(/etc/httpd/conf/httpd.conf), service start and enable. then go to the zone file directory (/var/named) and input this line (www IN CNAME ns.abcdtechnologies.local) in foreword zone file when you hostname is "ns.abcdtechnologies.local". Then restart nameserver (#systemctl restart named). now you can visit this on your browser (www.abcdtechnologies.local) ** example configuration- 1. Install httpd. [root@ns ~]# yum -y install httpd # remove welcome page [root@ns ~]# rm -f /etc/httpd/conf.d/welcome.conf [root@ns ~]# vi /etc/httpd/conf/httpd.conf # line 86: change to admin's email address ServerAdmin root@srv.world # line 95: change to your server's name ServerName www.abcdtechnologies.local:80 # line 151: change AllowOverride All # line 164: add file name that it can access only with directory's name DirectoryIndex index.html index.cgi index.php # add follows to the end # server's response header ServerTokens Prod # keepalive is ON KeepAlive On [root@ns ~]# systemctl start httpd [root@ns ~]# systemctl enable httpd 2. Firewall Setup [root@ns ~]# # firewall-cmd --add-service=http --permanent success [[root@ns~]# firewall-cmd --reload success 3. Create a test page [root@ns ~]# vi /var/www/html/index.html Test Page 4. Edit forward zone file (input the line at the end) [root@ns ~]# vim /var/named/abcdtechnologies.for [if your forward zone file name is "abcdtechnologies.for"] $TTL 1D @ IN SOA ns.abcdtechnologies.local. root.abcdetchnologies.local. ( 0 ; serial 1D ; refresh 1H ; retry 1W ; expire 3H ) ; minimum @ IN NS ns.abcdtechnologies.local. @ IN A 192.168.1.200 ns.abcdtechnologies.local. IN A 192.168.1.200 www IN CNAME ns.abcdtechnologies.local. [input this line] [root@ns ~]# systemctl restart named
Thanks a lot, I managed to solve a fault in my server, referring to the section of the configuration of setbool I activate them and I worked, thanks valuable contribution.
You can follow steps it's all working. Just need to be aware of dots in the end of writing your own domain name.
Minuses no sound and explanation of some commands. Waiting for postfix video.
Thanks
Nice vai
does i need to install the whm/cpanel first before i do this tutorial?
Thank a lot!
HOLA si compre un dominio sin hosting por lo caro, con esta configuracion puedo gestionar mi dominio y enviar y recibir correos a servidores externos como gmail?
Dear Bro, thanks a lot. Please show how to configure secondary DNS...
it would be better if you have explain what all these command,files and keyword means so that every one will be known about your tutorial.
Thank you its work well
Sir, I have purchase a domain called itaugur.online with one year subscription. This is only for learning DNS server as like real time production server.. But, I can't understood that how to configure SOA record with given information. Please help me...
firewall commands are not running in server pls anyone help
Secondary DNS Configure video chai .
ping goolge.com: Name or service not know , what can i do
wow
getting error !!!!
# nslookup itsupport.local
Server: 192.168.1.141
Address: 192.168.1.141#53
*** Can't find itsupport.local: No answer
Check it on your user end first ............
Hi, when i ping or do nslookup of the domain name : nslookup abcdtechnologies.local it returns info:
Server: 192.168.1.200
Address: 192.168.1.200#53
Name: abcdtechnologies.local
Address: 192.168.1.200
But i can't visit this on my browser. Y?
Awesome video by the way... :)
DNS use 53 port, It just work as translate Server name to IP Address and IP Address to server name. Browser work at by default 80, 443 port. if your name server IP is 192.168.1.200 and hostname is ns.abcdtechnologies.local , now you wont to work this server as a web server also, then you need to install httpd (#yum install httpd -y), create a webpage in document root(/var/www/html) , set firewall, edit configuration file(/etc/httpd/conf/httpd.conf), service start and enable. then go to the zone file directory (/var/named) and input this line (www IN CNAME ns.abcdtechnologies.local) in foreword zone file when you hostname is "ns.abcdtechnologies.local". Then restart nameserver (#systemctl restart named). now you can visit this on your browser (www.abcdtechnologies.local)
**
example configuration-
1. Install httpd.
[root@ns ~]# yum -y install httpd
# remove welcome page
[root@ns ~]# rm -f /etc/httpd/conf.d/welcome.conf
[root@ns ~]# vi /etc/httpd/conf/httpd.conf
# line 86: change to admin's email address
ServerAdmin root@srv.world
# line 95: change to your server's name
ServerName www.abcdtechnologies.local:80
# line 151: change
AllowOverride All
# line 164: add file name that it can access only with directory's name
DirectoryIndex index.html index.cgi index.php
# add follows to the end
# server's response header
ServerTokens Prod
# keepalive is ON
KeepAlive On
[root@ns ~]# systemctl start httpd
[root@ns ~]# systemctl enable httpd
2. Firewall Setup
[root@ns ~]# # firewall-cmd --add-service=http --permanent
success
[[root@ns~]# firewall-cmd --reload
success
3. Create a test page
[root@ns ~]# vi /var/www/html/index.html
Test Page
4. Edit forward zone file (input the line at the end)
[root@ns ~]# vim /var/named/abcdtechnologies.for [if your forward zone file name is "abcdtechnologies.for"]
$TTL 1D
@ IN SOA ns.abcdtechnologies.local. root.abcdetchnologies.local. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS ns.abcdtechnologies.local.
@ IN A 192.168.1.200
ns.abcdtechnologies.local. IN A 192.168.1.200
www IN CNAME ns.abcdtechnologies.local. [input this line]
[root@ns ~]# systemctl restart named
Okey. You have a telephone, a printer and a laptop also but you don't have a microphone.
Floppy