01-11-2013
Quote:
Originally Posted by
rink
Hello thmnetwork i also tried every main logging option and run named daemon with different debug level but nothing working.
The purpose of changing the logging levels is to generate more information for you to go off of. It won't (by itself) fix your problem, just point you in the right direction.
Quote:
Originally Posted by
rink
dig -t A google.com @127.0.0.1 +trace (not working)
error no server could be reached
This is actually a different error than you were getting before. This is stating that it's not able to connect to the DNS server at all, whereas before you were able to connect to the DNS server it was just giving you a "SERVFAIL" error message.
It sounds like when you did a restart it shut down but didn't start back up properly. Is "named" in the line for port 53 if you do a "netstat -tuapn" ?
9 More Discussions You Might Find Interesting
1. Cybersecurity
How do I find out my current version of BIND?
Dhall1973:D (1 Reply)
Discussion started by: dhall1973
1 Replies
2. UNIX for Advanced & Expert Users
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):
cw ... (1 Reply)
Discussion started by: mjdousti
1 Replies
3. Solaris
Hi all,
Was hoping someone could shed some light on my problem,
rpc bind is in maintenance mode on Solaris 10 and won't fire up.
contents of the error log are:
rpcbind failed with 1.
bash-3.00#
Because rpc-bind isn't working, it's stopping nfs and autofs from working too
... (6 Replies)
Discussion started by: callmebob
6 Replies
4. Red Hat
Hello,
Our production linux server have multiple network interface.
Recently we installed and started NFS. Now the client server cannot mount to the server running NFS.
Later it was discovered that the port being used for NFS is only bound to one IP address, which is not the IP address I... (0 Replies)
Discussion started by: hemangjani
0 Replies
5. Red Hat
I have problems with a simple BIND configuration in CentOS. I have a static public IP 1.1.1.1 and I recently bought a domain name gigi.com. I just want that gigi.com points to 1.1.1.1 (Apache Web Server).
This is how my named.conf file looks:
options {
directory "/var/named";
};
... (0 Replies)
Discussion started by: pasadia
0 Replies
6. Red Hat
Hi All,
Distros of machines : RHEL6
Bind Vesrion : Bind-9.7-3.2
I am trying to set up a test DNS for my home network. I have two rhel 6 machines A and B. Machine A has 2 NICs and is acting as a router also, one NIC is facing intranet and the otehr is facing intranet. On machine A i have... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies
7. Programming
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Advanced & Expert Users
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 DEBIAN
shell-quote
SHELL-QUOTE(1p) User Contributed Perl Documentation SHELL-QUOTE(1p)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)