Cannot connect to nameserver, using Bind on CentOS 6DNS zones and named filesProblem with www version of...

How to pass a string to a command that expects a file?

Best approach to update all entries in a list that is paginated?

Placing subfig vertically

Do items de-spawn in Diablo?

How could our ancestors have domesticated a solitary predator?

Solving "Resistance between two nodes on a grid" problem in Mathematica

Can Mathematica be used to create an Artistic 3D extrusion from a 2D image and wrap a line pattern around it?

Could a cubesat propel itself to Mars?

Should QA ask requirements to developers?

Rejected in 4th interview round citing insufficient years of experience

Why doesn't this Google Translate ad use the word "Translation" instead of "Translate"?

Offered promotion but I'm leaving. Should I tell?

Word for a person who has no opinion about whether god exists

MTG: Can I kill an opponent in response to lethal activated abilities, and not take the damage?

How do I express some one as a black person?

Why the color red for the Republican Party

Does splitting a potentially monolithic application into several smaller ones help prevent bugs?

Why does Captain Marvel assume the planet where she lands would recognize her credentials?

How to create a hard link to an inode (ext4)?

Do Bugbears' arms literally get longer when it's their turn?

Could a cubesat be propelled to the moon?

infinitive telling the purpose

Time travel short story where dinosaur doesn't taste like chicken

Why does Deadpool say "You're welcome, Canada," after shooting Ryan Reynolds in the end credits?



Cannot connect to nameserver, using Bind on CentOS 6


DNS zones and named filesProblem with www version of domain in zone fileWildcard DNS with BINDMaster Server Bind i's OK but Slave NOCentOS BIND DNS Troubleshooting?RHEL BIND Server Intermittent errorDNS BIND on CENTOS 6.3 and domain nameserversQuestions about DNS, BIND and setupunable to setup nameserver in CentOS 5.8ubuntu 14.04 Bind DNS does not work from outside for some of my domains













0















Actually, this is my first time setting up a linux server. I have done many things i found on the internet to point my domain to my CentOS VPS.



Everything looks just fine for me when i tested the server using dig and nslookup, since i don't have much knowledge in this thing just yet.



The problem is when i point my domain to the nameserver, it said 'ns1.mydomain.com' is not a valid nameserver, ns2.mydomain.com is not a valid nameserver.



Here is my named.conf :



    options {
# listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";

allow-query { localhost; ***.***.***.***; any; };#my server ip
allow-transfer { localhost; ***.***.***.***; };#my server ip
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";

pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

zone "mydomain.com" IN {
type master;
file "mydomain.com.ca";
allow-update { none;};
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";


Here is mydomain.com.ca :



$TTL 86400
@ IN SOA ns1.mydomain.com. root.mydomain.com. (
2013042201 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)

IN NS ns1.mydomain.com.
IN NS ns2.mydomain.com.

ns1 IN A ***.***.***.*** #my server ip
ns2 IN A ***.***.***.*** #my server ip


@ IN A ***.***.***.*** #my server ip
www IN A ***.***.***.*** #my server ip


Did i miss something? Or i just have to wait for the DNS propagation? Sorry for my english and silly question. I also new in this Stack Exchange.









share







New contributor




Kamaludin Khoir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    Actually, this is my first time setting up a linux server. I have done many things i found on the internet to point my domain to my CentOS VPS.



    Everything looks just fine for me when i tested the server using dig and nslookup, since i don't have much knowledge in this thing just yet.



    The problem is when i point my domain to the nameserver, it said 'ns1.mydomain.com' is not a valid nameserver, ns2.mydomain.com is not a valid nameserver.



    Here is my named.conf :



        options {
    # listen-on port 53 { 127.0.0.1; };
    listen-on-v6 port 53 { ::1; };
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    memstatistics-file "/var/named/data/named_mem_stats.txt";

    allow-query { localhost; ***.***.***.***; any; };#my server ip
    allow-transfer { localhost; ***.***.***.***; };#my server ip
    recursion yes;

    dnssec-enable yes;
    dnssec-validation yes;
    dnssec-lookaside auto;

    bindkeys-file "/etc/named.iscdlv.key";

    managed-keys-directory "/var/named/dynamic";

    pid-file "/run/named/named.pid";
    session-keyfile "/run/named/session.key";
    };

    logging {
    channel default_debug {
    file "data/named.run";
    severity dynamic;
    };
    };

    zone "." IN {
    type hint;
    file "named.ca";
    };

    zone "mydomain.com" IN {
    type master;
    file "mydomain.com.ca";
    allow-update { none;};
    };

    include "/etc/named.rfc1912.zones";
    include "/etc/named.root.key";


    Here is mydomain.com.ca :



    $TTL 86400
    @ IN SOA ns1.mydomain.com. root.mydomain.com. (
    2013042201 ;Serial
    3600 ;Refresh
    1800 ;Retry
    604800 ;Expire
    86400 ;Minimum TTL
    )

    IN NS ns1.mydomain.com.
    IN NS ns2.mydomain.com.

    ns1 IN A ***.***.***.*** #my server ip
    ns2 IN A ***.***.***.*** #my server ip


    @ IN A ***.***.***.*** #my server ip
    www IN A ***.***.***.*** #my server ip


    Did i miss something? Or i just have to wait for the DNS propagation? Sorry for my english and silly question. I also new in this Stack Exchange.









    share







    New contributor




    Kamaludin Khoir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Actually, this is my first time setting up a linux server. I have done many things i found on the internet to point my domain to my CentOS VPS.



      Everything looks just fine for me when i tested the server using dig and nslookup, since i don't have much knowledge in this thing just yet.



      The problem is when i point my domain to the nameserver, it said 'ns1.mydomain.com' is not a valid nameserver, ns2.mydomain.com is not a valid nameserver.



      Here is my named.conf :



          options {
      # listen-on port 53 { 127.0.0.1; };
      listen-on-v6 port 53 { ::1; };
      directory "/var/named";
      dump-file "/var/named/data/cache_dump.db";
      statistics-file "/var/named/data/named_stats.txt";
      memstatistics-file "/var/named/data/named_mem_stats.txt";

      allow-query { localhost; ***.***.***.***; any; };#my server ip
      allow-transfer { localhost; ***.***.***.***; };#my server ip
      recursion yes;

      dnssec-enable yes;
      dnssec-validation yes;
      dnssec-lookaside auto;

      bindkeys-file "/etc/named.iscdlv.key";

      managed-keys-directory "/var/named/dynamic";

      pid-file "/run/named/named.pid";
      session-keyfile "/run/named/session.key";
      };

      logging {
      channel default_debug {
      file "data/named.run";
      severity dynamic;
      };
      };

      zone "." IN {
      type hint;
      file "named.ca";
      };

      zone "mydomain.com" IN {
      type master;
      file "mydomain.com.ca";
      allow-update { none;};
      };

      include "/etc/named.rfc1912.zones";
      include "/etc/named.root.key";


      Here is mydomain.com.ca :



      $TTL 86400
      @ IN SOA ns1.mydomain.com. root.mydomain.com. (
      2013042201 ;Serial
      3600 ;Refresh
      1800 ;Retry
      604800 ;Expire
      86400 ;Minimum TTL
      )

      IN NS ns1.mydomain.com.
      IN NS ns2.mydomain.com.

      ns1 IN A ***.***.***.*** #my server ip
      ns2 IN A ***.***.***.*** #my server ip


      @ IN A ***.***.***.*** #my server ip
      www IN A ***.***.***.*** #my server ip


      Did i miss something? Or i just have to wait for the DNS propagation? Sorry for my english and silly question. I also new in this Stack Exchange.









      share







      New contributor




      Kamaludin Khoir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Actually, this is my first time setting up a linux server. I have done many things i found on the internet to point my domain to my CentOS VPS.



      Everything looks just fine for me when i tested the server using dig and nslookup, since i don't have much knowledge in this thing just yet.



      The problem is when i point my domain to the nameserver, it said 'ns1.mydomain.com' is not a valid nameserver, ns2.mydomain.com is not a valid nameserver.



      Here is my named.conf :



          options {
      # listen-on port 53 { 127.0.0.1; };
      listen-on-v6 port 53 { ::1; };
      directory "/var/named";
      dump-file "/var/named/data/cache_dump.db";
      statistics-file "/var/named/data/named_stats.txt";
      memstatistics-file "/var/named/data/named_mem_stats.txt";

      allow-query { localhost; ***.***.***.***; any; };#my server ip
      allow-transfer { localhost; ***.***.***.***; };#my server ip
      recursion yes;

      dnssec-enable yes;
      dnssec-validation yes;
      dnssec-lookaside auto;

      bindkeys-file "/etc/named.iscdlv.key";

      managed-keys-directory "/var/named/dynamic";

      pid-file "/run/named/named.pid";
      session-keyfile "/run/named/session.key";
      };

      logging {
      channel default_debug {
      file "data/named.run";
      severity dynamic;
      };
      };

      zone "." IN {
      type hint;
      file "named.ca";
      };

      zone "mydomain.com" IN {
      type master;
      file "mydomain.com.ca";
      allow-update { none;};
      };

      include "/etc/named.rfc1912.zones";
      include "/etc/named.root.key";


      Here is mydomain.com.ca :



      $TTL 86400
      @ IN SOA ns1.mydomain.com. root.mydomain.com. (
      2013042201 ;Serial
      3600 ;Refresh
      1800 ;Retry
      604800 ;Expire
      86400 ;Minimum TTL
      )

      IN NS ns1.mydomain.com.
      IN NS ns2.mydomain.com.

      ns1 IN A ***.***.***.*** #my server ip
      ns2 IN A ***.***.***.*** #my server ip


      @ IN A ***.***.***.*** #my server ip
      www IN A ***.***.***.*** #my server ip


      Did i miss something? Or i just have to wait for the DNS propagation? Sorry for my english and silly question. I also new in this Stack Exchange.







      bind centos6 nameserver





      share







      New contributor




      Kamaludin Khoir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Kamaludin Khoir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Kamaludin Khoir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 4 mins ago









      Kamaludin KhoirKamaludin Khoir

      1




      1




      New contributor




      Kamaludin Khoir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Kamaludin Khoir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Kamaludin Khoir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Kamaludin Khoir is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958010%2fcannot-connect-to-nameserver-using-bind-on-centos-6%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Kamaludin Khoir is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Kamaludin Khoir is a new contributor. Be nice, and check out our Code of Conduct.













          Kamaludin Khoir is a new contributor. Be nice, and check out our Code of Conduct.












          Kamaludin Khoir is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958010%2fcannot-connect-to-nameserver-using-bind-on-centos-6%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...