Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Some problems with BIND configuration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
unrecovered
n00b
n00b


Joined: 15 Jan 2014
Posts: 2

PostPosted: Wed Jan 15, 2014 9:03 am    Post subject: Some problems with BIND configuration Reply with quote

Hi. I'm trying to set up emergency local hosting. Currently I'm setting up my own DNS server and encountering some strange errors.

First problem is in the internal zone. Named starts fine, no errors found by checkconfig. Host command resolves name correctly, as well as ping. But browser keeps trying to open external address. It could be caching, but even links, where i've never opened it before, handles it the same way.

Second problem is in external. I am currently having a site being put on my emergency hosting due to some reasons. It works through redirect and third-level domain now(http://vremyachudes.ru), which is obviously uncomfortable. I've changed domain dns record to my external ip address a while ago, but it still resolves as ip of a main hosting. Looks like these two errors are connected somehow.

named.conf: http://pastebin.com/v1U79FmB

vc.internal:
Code:

$TTL 2d
@   IN SOA   ns.vremyachudes.ru.   admin@vremyachudes.ru. (
   20140109   ; serial
   3h   ; refresh
   1h   ; retry
   1w   ; expiry
   1d )   ; minimum
 
vremyachudes.ru.      IN MX   0 mail.vremyachudes.ru.
vremyachudes.ru.      IN TXT   "v=spf1 ip4:91.144.173.59/32 mx ptr mx:mail.vremyachudes.ru ~all"
vremyachudes.ru.      IN SPF   "v=spf1 ip4:91.144.173.59/32 mx ptr mx:mail.vremyachudes.ru ~all"
vremyachudes.ru.      IN NS   ns.vremyachudes.ru.
vremyachudes.ru.   IN A   192.168.0.29
www.vremyachudes.ru.   IN A   192.168.0.29
ns.vremyachudes.ru.      IN A   192.168.0.29
mail.vremyachudes.ru.   IN A   192.168.0.29


vc.external:
Code:

$TTL 2d
@   IN SOA   ns.vremyachudes.ru.   admin@vremyachudes.ru. (
   20140109   ;serial
   3h   ;refresh
   1h   ;retry
   1w   ;expiry
   1d )   ;minimum
 
vremyachudes.ru.      IN MX   0 mail.vremyachudes.ru.
vremyachudes.ru.      IN TXT   "v=spf1 ip4:91.144.173.59/32 mx ptr mx:mail.vremyachudes.ru ~all"
vremyachudes.ru.      IN SPF   "v=spf1 ip4:91.144.173.59/32 mx ptr mx:mail.vremyachudes.ru ~all"
vremyachudes.ru.      IN NS   ns.vremyachudes.ru.
www.vremyachudes.ru.   IN A   91.144.173.59
ns.vremyachudes.ru.      IN A   91.144.173.59
mail.vremyachudes.ru.   IN A   91.144.173.59


external ip 91.144.173.59
internal ip 192.168.0.29
forwarding on router is also set up and seems to work

hosting and dns server is set up on the same machine
_________________
PG-13 on Gentoo forum? Why? It's brainfucking mostly, any age should have access to it! :)
Back to top
View user's profile Send private message
Ralphred
n00b
n00b


Joined: 31 Dec 2013
Posts: 11

PostPosted: Tue Jan 21, 2014 10:05 pm    Post subject: Reply with quote

If i
Code:
 dig vremyachudes.ru
~~snip~~
;; AUTHORITY SECTION:
vremyachudes.ru.        338843  IN      NS      kmdns.no-ip.org.
vremyachudes.ru.        338843  IN      NS      ns2.sprinthost.ru.
~~snip~~
There are 2 conflicting authoritative nameservers for the domain. Explicitly pointing toward you resolves as you would like, to the sprinthost server and it's what I can only assume is the old IP.

If 'host' works internally I'd be looking at proxy settings in the browser and flushing the DNS cache on the querying machine.

I'm interested to know how I actually get a query result from your server when it's not listening on a public IP?
Back to top
View user's profile Send private message
unrecovered
n00b
n00b


Joined: 15 Jan 2014
Posts: 2

PostPosted: Fri Jan 24, 2014 10:34 am    Post subject: Reply with quote

Ralphred wrote:

I'm interested to know how I actually get a query result from your server when it's not listening on a public IP?

Interesting =) I thought it listens... at least queries reach the server, but they still getting refused(it can be ssen in named log)
_________________
PG-13 on Gentoo forum? Why? It's brainfucking mostly, any age should have access to it! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum