Primary DNS Server Configuration In CentOS 7/RHEL 7

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 27

  • @theblackven
    @theblackven 7 лет назад +1

    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.

  • @psutkus
    @psutkus 8 лет назад

    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.

  • @Macronrat
    @Macronrat 5 лет назад +1

    Thanks

  • @nazmulhossain6844
    @nazmulhossain6844 6 лет назад

    Nice vai

  • @tanzeelur-rahman6933
    @tanzeelur-rahman6933 7 лет назад

    does i need to install the whm/cpanel first before i do this tutorial?

  • @efrencuarteros4057
    @efrencuarteros4057 6 лет назад +1

    Thank a lot!

  • @CiscoMeraki369
    @CiscoMeraki369 6 лет назад

    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?

  • @monirullislam4219
    @monirullislam4219 7 лет назад +1

    Dear Bro, thanks a lot. Please show how to configure secondary DNS...

  • @govindachaulagain4142
    @govindachaulagain4142 7 лет назад +3

    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.

  • @premmukhiya
    @premmukhiya 7 лет назад

    Thank you its work well

  • @subratadas9283
    @subratadas9283 6 лет назад

    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...

  • @djdhanu1275
    @djdhanu1275 5 лет назад

    firewall commands are not running in server pls anyone help

  • @nazmulhossain6844
    @nazmulhossain6844 6 лет назад

    Secondary DNS Configure video chai .

  • @anujsingh-ox5cg
    @anujsingh-ox5cg 6 лет назад

    ping goolge.com: Name or service not know , what can i do

  • @abdulmotintv8459
    @abdulmotintv8459 7 лет назад

    wow

  • @vikasgupta6345
    @vikasgupta6345 7 лет назад

    getting error !!!!
    # nslookup itsupport.local
    Server: 192.168.1.141
    Address: 192.168.1.141#53
    *** Can't find itsupport.local: No answer

  • @blockchainacademy.community
    @blockchainacademy.community 7 лет назад

    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... :)

    • @rajibhossainkhan513
      @rajibhossainkhan513  7 лет назад +1

      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

  • @serazummunirz
    @serazummunirz 6 лет назад

    Okey. You have a telephone, a printer and a laptop also but you don't have a microphone.

  • @jeanrodrigues6249
    @jeanrodrigues6249 3 года назад

    Floppy