04-19-2007
More clarifications
Ah, I'm usually bad at explaining things. Sorry, but I'll give another try.
The actual need for me is to make the nameserver (dns_server) return 'Host not found, try again', irrespective of the IP queried for.
I understand that dns queries undergo multiple hops before they reach the final server. I want to accomplish 'try again' return value in the first hop itself. I currently am aware of 2 possibilities to do this. But I want a third way to do it, because I have some other problem testing my code with the first two possibilities.
Possibility 1: Change the resolv.conf to point to invalid nameserver
Possibility 2: Terminate the local nameserver, or change the local dns_server code to return 'try again' irrespective of the query
PS: I'm an email developer and am not attempting DoS even in its mildest way.
Thanks,
Srini
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can convert a Lower case variable value to an upper case in the kron shell script. (3 Replies)
Discussion started by: dchalavadi
3 Replies
2. Shell Programming and Scripting
HELLO ALL,
URGENTLY NEEDED A SCRIPT TO SELECT AND DELETE LOWER AND MIXED CASE RECORDS FROM A COLUMN IN A TABLE.
FOR EXAMPLE : Table name is EMPLOYEE and the column name is CITY
and the CITY column records will be: Newyork
washington
... (1 Reply)
Discussion started by: abhilash mn
1 Replies
3. Shell Programming and Scripting
Hi all,
i have a data array as followes.
ARRAY=DFSG345GGG
ARRAY=234FDFG090
ARRAY=VDFVGBGHH
so on..........
i need all english letters to be change to lower case. So i am expecting to see
ARRAY=dfsg345ggg
ARRAY=234fdfg090
ARRAY=vdfvgbghh
so on........
If i have to copy this data in... (8 Replies)
Discussion started by: usustarr
8 Replies
4. Shell Programming and Scripting
Hi
I want to make string substitution ignoring case for search but respecting case for subtitute. Ex changing all occurences of "original" in a file to "substitute":
original becomes substitute
Origninal becomes Substitute
ORIGINAL becomes SUBSTITUTE
I know this a little special but it's not... (1 Reply)
Discussion started by: kmchen
1 Replies
5. Shell Programming and Scripting
Is there a command that can switch a character variable from UPPER case to lower case?
like
foreach AC ( ABC BCD PLL QIO)
set ac `COMMAND($AC)`
...
end
Thanks a lot! (3 Replies)
Discussion started by: rockytodd
3 Replies
6. Programming
Writing a Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX
I have over the years come across the same issue a couple of times, and it normally is that the read speed on SAN is absolutely atrocious when doing non-sequential I/O to the disks. Problem being of... (7 Replies)
Discussion started by: vrghost
7 Replies
7. Shell Programming and Scripting
Hello Unix Gurus :
It would be really appreciative if can find a solution for this .
I have records in a file .
I need to Capitalize the records based on condition .
For Example i tried the following Command
COMMAND -->
fgrep "2000YUYU" /export/home/oracle/TST/data.dat | tr '' ''... (12 Replies)
Discussion started by: tsbiju
12 Replies
8. Red Hat
Hello,
I wanted to simulate SAN on my VMware PLayer running RHEL.
Is there any tool that can be used to simulate storage setup for learning/testing?
THanks, (1 Reply)
Discussion started by: ikn3
1 Replies
9. Shell Programming and Scripting
Hi all,
I am trying to find a way to change first letter in a word from lower case to upper case. It should be done for each first word in text or in paragraph, and also for each word after punctuation like
. ; : ! ?I found the following command
sed -i 's/\s*./\U&\E/g' $@ filenamebut... (7 Replies)
Discussion started by: georgi58
7 Replies
PACEMAKER(8) System Administration Utilities PACEMAKER(8)
NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
ptest [-?Vv] -[Xxp] {other options}
DESCRIPTION
ptest - Calculate the cluster's response to the supplied cluster state
Superceeded by crm_simulate and likely to be removed in a future release
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
-S, --simulate
Simulate the transition's execution to find invalid graphs
-s, --show-scores
Display resource allocation scores
-U, --show-utilization
Display utilization information
-a, --all-actions
Display all possible actions - even ones not part of the transition graph
-L, --live-check
Connect to the CIB and use the current contents as input
-X, --xml-text=value
Retrieve XML from the supplied string
-x, --xml-file=value
Retrieve XML from the named file
-I, --save-input=value
Save the input to the named file
-G, --save-graph=value
Save the transition graph (XML format) to the named file
-D, --save-dotfile=value
Save the transition graph (DOT format) to the named file
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.7 April 2012 PACEMAKER(8)