Bind Problem


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Bind Problem
# 1  
Old 02-09-2009
[Solved] Bind Problem

Hi all,

I've 2 Debian Etch (4) box used as ns1 and ns2 with BIND9. My domain name is something like this:
subdomain.domain.com

And I've 2 authorized DNS servers for the subdomain. I set this line in both of ns1 and ns2 (I.e. in ns1.subdomain.domain.com and ns2.subdomain.domain.com):
Code:
cw                      A       188.88.88.88

This setting was set in /etc/bind/db.subdomain.domain.com .

The result of dig command was like this:

Command:
Code:
dig @ns1.subdomain.domain.com cw.subdomain.domain.com

Result:
Code:
; <<>> DiG 9.3.4-P1.1 <<>> @ns1.subdomain.domain.com cw.subdomain.domain.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49076
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;cw.subdomain.domain.com.              IN      A

;; ANSWER SECTION:
cw.subdomain.domain.com.       86400   IN      A       188.88.88.88

dig showed the same result on ns2.subdomain.domain.com.
But when I sent the below query, I got nothing:
Command:
Code:
dig @ns1.domain.com cw.subdomain.domain.com

Result:
Code:
; <<>> DiG 9.3.4-P1.1 <<>> @ns1.domain.com cw.subdomain.domain.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 1182
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;cw.subdomain.domain.com.              IN      A

;; AUTHORITY SECTION:
subdomain.domain.com.          3600    IN      SOA     ns1.subdomain.domain.com. root.subdomain.domain.com. 2008012900 3600 900 1209600 3600

But there was no ANSWER section. I set these setting 2 or 3 days ago. My old *.subdomain.domain.com hasn't any problem.

Any idea to solve the problem?

Last edited by mjdousti; 02-09-2009 at 04:18 PM.. Reason: Solved Problem
# 2  
Old 02-09-2009
..... I forgot to increase SOA.

Last edited by Neo; 02-09-2009 at 04:15 PM.. Reason: slightly edited
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Bind

Hi All I need to do bind of exiting filesystem to new storage allocated mount --bind /prod/OpenCSS /var/lib/test echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab will this command just work ? (2 Replies)
Discussion started by: anil529
2 Replies

2. UNIX for Dummies Questions & Answers

Can't bind to IP

When you get the message can't bind to ip already in use. is there a command to search to see everything that is using that IP? I've already check the host and hostname files (2 Replies)
Discussion started by: mchelle_99
2 Replies

3. Cybersecurity

[SELinux] Problem with Bind 9

Hi, I can not start named service: /etc/init.d/named start Iniciando named: Error in named configuration: zone default.domain/IN: loading from master file /home/admin/conf/dns/default.domain.db failed: permission denied zone default.domain/IN: not loaded due to errors.... (2 Replies)
Discussion started by: Anibal
2 Replies

4. Solaris

BIND in chroot

Hi all, I'm trying to start named in chroot environment manually but i'm getting the following error bash-3.00# cat /etc/release Solaris 10 6/06 s10s_u2wos_09a SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is... (1 Reply)
Discussion started by: h@foorsa.biz
1 Replies

5. Programming

bind source

here is the bind source file for the client.c in bind9 logs are written in var/log/file name in the form 02-Aug-2012 15:43:12.713 client 192.168.2.4#47512: query: 209.236.125.74.in-addr.arpa IN PTR + (192.168.2.4) i am in a subnet of 10 systems through 192.168.2.1..10 i want to write logs based... (2 Replies)
Discussion started by: balvinder87
2 Replies

6. Red Hat

Problem to bind to local ports on Fedora 13

A problem with binding to local ports (22,23,80) in Fedora 13. Ports look not used. sshd, webserver is not running. I am using java remote connection manager. It is working fine with IE or Firefox in Windows with any user account. With Fedora 13, it starts via Firefox with not root account and... (0 Replies)
Discussion started by: gogogo
0 Replies

7. Linux

BIND problem in Fedora Core

Hi , I am facing a strange with BIND in Fedora Core 6. Here is the config for more info. #cat /etc/named.caching-nameserver.conf options { listen-on port 53 { any; }; directory "/var/named"; // dump-file "/var/named/data/cache_dump.db"; ... (3 Replies)
Discussion started by: narasimhulu
3 Replies

8. Shell Programming and Scripting

Perl DBI - Bind Parameters Problem

I have a SQL statement that includes a UNION that I can't get to work when I bind the parameters. (I am binding the parameters to prevent SQL injection.) Does anybody have any suggestion on how I can use a SQL statement that includes a UNION and bind the params? Code would be something like... (1 Reply)
Discussion started by: mh53j_fe
1 Replies

9. UNIX for Dummies Questions & Answers

how do redirect in bind

Hello all! Does anyone know how to redirect i link to a host or alias name? Here is the example: i wank to type "Bob" in my browser and be redirected to http://192.168.54.37:7001/Bob/BobMainServlet on that perticular port. Im using Redhat 6.2 with bind 9.2.3 regards... dOzY (4 Replies)
Discussion started by: dozy
4 Replies

10. IP Networking

bind() error

Hello. I am havig problems with this program. It is a server supposed to get 2 integers from client, calculate a sum and send result back to client. I am getting a bind() error when attempting to execute it. Any help appreciated #include <stdio.h> #include <sys/types.h> #include... (2 Replies)
Discussion started by: Virtuosso
2 Replies
Login or Register to Ask a Question