04-02-2014
Solaris BIND question
I have three Solaris DNS servers, a master & two secondaries. On the master, There is an A record for one of my secondaries with an IP that is different from that servers physical IP address. There is also a corresponding PTR record for the same server & IP. I am trying to figure out what the purpose of this is.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
First some back ground info:
I am working on a computer running SuSE 7.3
I am still trying to set up a DNS
I downloaded BIND 9.2.1 and was following a tutorial about BIND. It said at virtually the start of the tutorial that I should find a file called named.conf in my /etc directory. Yes, I... (1 Reply)
Discussion started by: ignus7
1 Replies
2. IP Networking
I have set up a BIND server running on Redhat AS 3.0 and the question I have is that I can point my laptop to that server and resolve all the hosts I have put in my .zone file but for the life of me I can resolve any outside information. I have verified the server can talk to the world. Any hints... (2 Replies)
Discussion started by: Acleoma
2 Replies
3. IP Networking
Suppose you had a bunch of domains registered with names following the scheme, 11example.com 22example.com 33example.com etc. These domains are all for virutal webhosting, and will have the same web servers with the same IPs on all of them.
The question is, because they're 2nd level domains, is... (3 Replies)
Discussion started by: vertigo23
3 Replies
4. Solaris
Hi! all,
Can somebody send me the detailed steps of installing bind 9 on solaris 9 . When I tried to install it it is asking for gcc compiler . I tried to install the gcc3.2 compiler for sunfreeware but it throwing error which configure
(CC enviroment to be set) . (1 Reply)
Discussion started by: deepak9976
1 Replies
5. Solaris
hi all
forgive my ignorance, but when IVe set up DNS Ive put in the various server details in the /etc/resolv.conf and away I go. Suddenly Ive been reading about DNS, and I need to created a /etc/named.conf file.
so, my question is this. DNS, what part does the /etc/resolv.conf play in... (3 Replies)
Discussion started by: sbk1972
3 Replies
6. Solaris
Hi,
I can't rememeber what passwd is set for the "named" user in bind.
Is there possibly a default one or anyway to find it ?
I'm worried about changing it and causing other issues, if I did change it
what other files would I need to edit ?
:(
Thanks (1 Reply)
Discussion started by: sysop400
1 Replies
7. Solaris
I'm new to Solaris and Linux and I was wondering if someone could explain to me in simple terms what the process Bind is on Solaris 10? Thanks, in advance. (6 Replies)
Discussion started by: jastanle84
6 Replies
8. Solaris
Hi All ,
My current Bind version is BIND 9.6.1 and I want upgrade the same to BIND 9.8.1-P1 ,Can any one provide the steps to do the same ?
Solaris Version : 5.10 Generic_144488-11 sun4v sparc
Thanks , (0 Replies)
Discussion started by: sandeep.tk
0 Replies
9. IP Networking
Old skool UNIX and Linux geek here, but newbie to the world of DNS and bind. I've recently been tasked with replacing our DNS infrastructure, currently on Windows, with a RHEL based solution. And I assume that means using bind, which I've not used before. Here's my question:
Suppose our company... (3 Replies)
Discussion started by: lupin..the..3rd
3 Replies
LEARN ABOUT PHP
mongocursor.slaveokay
MONGOCURSOR.SLAVEOKAY(3) 1 MONGOCURSOR.SLAVEOKAY(3)
MongoCursor::slaveOkay - Sets whether this query can be done on a secondary [deprecated]
SYNOPSIS
public MongoCursor MongoCursor::slaveOkay ([bool $okay = true])
DESCRIPTION
Warning
This method is deprecated since version 1.5.0. Instead, please use MongoCursor::setReadPreference and "Read Preferences".
Calling this will make the driver route reads to secondaries if:
o You are using a replica set, and
o You created a MongoClient instance using the option
"replicaSet" => "setName", and
o There is a healthy secondary that can be reached by the driver.
You can check which server was used for this query by calling MongoCursor.info(3) after running the query. It's server field will show
which server the query was sent to.
Note that you should use this function even if you do not use the automatic routing to secondaries. If you connect directly to a secondary
in a replica set, you still need to call this function, which basically tells the database that you are aware that you might be getting
older data and you're okay with that. If you do not call this, you'll get "not master" errors when you try to query.
This method will override the static class variable $MongoCursor::$slaveOkay. It will also override Mongo.setSlaveOkay(3), MongoDB.set-
SlaveOkay(3) and MongoCollection.setSlaveOkay(3).
PARAMETERS
o $okay
- If it is okay to query the secondary.
RETURN VALUES
Returns this cursor.
ERRORS
/EXCEPTIONS
Throws MongoCursorException if this cursor has started iterating.
EXAMPLES
Example #1
MongoCursor.slaveOkay(3) example
<?php
MongoCursor::$slaveOkay = false;
// cannot query secondary
$cursor = $collection->find();
// can query secondary
$cursor = $collection->find()->slaveOkay();
MongoCursor::$slaveOkay = true;
// can query secondary
$cursor = $collection->find();
// cannot query secondary
$cursor = $collection->find()->slaveOkay(false);
?>
SEE ALSO"Read Preferences ,
MongoCursor::setReadPreference, MongoCursor::getReadPreference.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 1.5.0 | |
| | |
| | This method has been deprecated in favour of |
| | MongoCursor::setReadPreference and "Read Prefer- |
| | ences". |
| | |
+--------+---------------------------------------------------+
PHP Documentation Group MONGOCURSOR.SLAVEOKAY(3)