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):
This setting was set in /etc/bind/db.subdomain.domain.com .
The result of dig command was like this:
Command:
Result:
dig showed the same result on ns2.subdomain.domain.com.
But when I sent the below query, I got nothing: Command:
Result:
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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT SUSE
hostname
HOSTNAME(7) Linux Programmer's Manual HOSTNAME(7)NAME
hostname - hostname resolution description
DESCRIPTION
Hostnames are domains, where a domain is a hierarchical, dot-separated list of subdomains; for example, the machine monet, in the Berkeley
subdomain of the EDU subdomain of the Internet would be represented as
monet.Berkeley.EDU
(with no trailing dot).
Hostnames are often used with network client and server programs, which must generally translate the name to an address for use. (This
task is generally performed by either getaddrinfo(3) or the obsolete gethostbyname(3).) Hostnames are resolved by the Internet name
resolver in the following fashion.
If the name consists of a single component, that is, contains no dot, and if the environment variable HOSTALIASES is set to the name of a
file, that file is searched for any string matching the input hostname. The file should consist of lines made up of two white-space sepa-
rated strings, the first of which is the hostname alias, and the second of which is the complete hostname to be substituted for that alias.
If a case-insensitive match is found between the hostname to be resolved and the first field of a line in the file, the substituted name is
looked up with no further processing.
If the input name ends with a trailing dot, the trailing dot is removed, and the remaining name is looked up with no further processing.
If the input name does not end with a trailing dot, it is looked up by searching through a list of domains until a match is found. The
default search list includes first the local domain, then its parent domains with at least 2 name components (longest first). For example,
in the domain CS.Berkeley.EDU, the name lithium.CChem will be checked first as lithium.CChem.CS.Berkeley.EDU and then as
lithium.CChem.Berkeley.EDU. Lithium.CChem.EDU will not be tried, as there is only one component remaining from the local domain. The
search path can be changed from the default by a system-wide configuration file (see resolver(5)).
SEE ALSO gethostbyname(3), resolver(5), mailaddr(7), named(8)COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2008-06-11 HOSTNAME(7)