Problem with BIND external

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
User avatar
ErikIvaN
A semi-regular
A semi-regular
Posts: 16
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Dec 09, 2014 10:17 am
Contact:

Problem with BIND external

Post by ErikIvaN »

Hello everyone :mrgreen:

My problem because it does not work reverse zone settings.I need to register my domain with DNS VPS but it fails to the propagation 24 hours, the domain on the machine is already running but to enter the domain need to use the ip and dns on my pc. How do I register the domain? or How do I use the domain without the DNS? cpanel or not to pay the registration in for example godaddy.

Internet tutorials none worked, can someone tell me how? reverse operation zone? the configuration?

I think This information is private right?
I use Centos 6 x64

¡Please help!

PS: If anyone can answer, as does NFO Servers to register subdomains in your own machine with a dynamic IP on your own domain to the external network in seattle. I do not intend to sell domains I just want to have my domain

I speak Spanish, not much English
I leave some files from my old named, have another one again with the actual settings
Attachments
Named.rar
My Named Config Old
(1.1 KiB) Downloaded 96 times
User avatar
ErikIvaN
A semi-regular
A semi-regular
Posts: 16
Joined: Tue Dec 09, 2014 10:17 am
Contact:

Re: Problem with BIND external

Post by ErikIvaN »

Thanks for the answers. :evil:
User avatar
Edge100x
Founder
Founder
Posts: 12947
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Problem with BIND external

Post by Edge100x »

The easiest way to set up a domain name to resolve your server's IP address is usually to use your registrar's name servers. In your case, that would be Godaddy; you could tell them to host the DNS for the domain and then create an A record to make it point to your server IP.

You could also run your own DNS server (such as BIND). If you do that, you'll need to install it through your distribution's tools (apt, or yum, or emerge, for instance), then create a zonefile and edit the overall configuration file to specify that you are hosting it (at the same time, you'll want to disable recursion, so that your server can't be abused for attacks). Restart BIND and test it locally using the "dig" tool to make sure that it responds properly for your domain, and then create DNS records at your registrar to point the domain name to your DNS server.

There should be many guides for these steps available, and your registrar can help more directly with the steps involving their systems.
User avatar
ErikIvaN
A semi-regular
A semi-regular
Posts: 16
Joined: Tue Dec 09, 2014 10:17 am
Contact:

Re: Problem with BIND external

Post by ErikIvaN »

Thanks for everything I run half. I mean that the domain does not resolve (ERR_NAME_NOT_RESOLVED) that will be?
:? http://fast-wolfs.com

; << >> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 << >>localhost fast-wolfs.com
; (2 servers found)
;; Global Options: + cmd
;; Got answer:
;; - >> HEADER << - opcode: QUERY, status: NOERROR, id: 62624
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: Requested recursion but not available

; << >> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 << >> @ 74.91.124.37 fast-wolfs.com
; (1 server found)
;; Global Options: + cmd
;; Got answer:
;; - >> HEADER << - opcode: QUERY, status: NOERROR, id: 5777
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: Requested recursion but not available
User avatar
Edge100x
Founder
Founder
Posts: 12947
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Problem with BIND external

Post by Edge100x »

It could be one of several things but one possibility is that your named.conf does not properly include a reference to the domain and allow it to be queried by all hosts.

I recommend starting with a template file.
User avatar
ErikIvaN
A semi-regular
A semi-regular
Posts: 16
Joined: Tue Dec 09, 2014 10:17 am
Contact:

Re: Problem with BIND external

Post by ErikIvaN »

I hope to fix it well, I try.


//
// FAST WOLFS (R) - named.conf
// COPYRIGHT (C) Erik Ivan Aranda
//


options {
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";

#listen-on port 53 { any; };
listen-on-v6 port 53 { ::1; };

allow-query { any; };
allow-transfer { localhost; 74.91.124.37; };
allow-query-cache { any; };
recursion no;

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

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

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

include "/etc/rndc.key";
include "/etc/named.root.key";

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

view "localhost_resolver" {
match-clients { localhost; };
recursion yes;
zone "." IN {
type hint;
file "/var/named/named.ca";
};
include "/etc/named.rfc1912.zones";
};

view "internal" {
match-clients { localnets; };
recursion yes;
zone "." IN {
type hint;
file "/var/named/named.ca";
};
include "/etc/named.rfc1912.zones";
};

view "external" {
match-clients { any; };
zone "." IN {
type hint;
file "/var/named/named.ca";
};
recursion no;
zone "fast-wolfs.com" IN {
type master;
file "fast-wolfs.com.zone";
allow-update { none; };
};
};
Post Reply