11-09-2015
Yes... in the early days folk's DNS servers were almost always recursive which meant you could use them as your general purpose DNS. But obviously, that could cause problems so usually your server will just server up the zone data for which you are authoriatative for (unless configured to operate recursively based on some rule...e.g. what network you're currently on).
Enjoy!
(next adventure Punycode and IDN!!)
This User Gave Thanks to cjcox For This Post:
9 More Discussions You Might Find Interesting
1. AIX
My only question is Can we have two auteritative Name servers for a single domain? Just a question. (1 Reply)
Discussion started by: vjm
1 Replies
2. Solaris
hi gurus,
need to check other than the hosts file, what else i need to change after we have changed the domain name in our company. currently, we are using olddnsname.com and will change it to newdnsname.com. i am not sure where else in solaris i need to take a look.
please advise.
thank... (4 Replies)
Discussion started by: kim_custodio
4 Replies
3. IP Networking
Hello,
I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address.
What I'd like is to... (4 Replies)
Discussion started by: martincastell
4 Replies
4. Linux
Hi everybody,
for revolving local host name of my network, I set up an dns server to solve my problem, but til now, nothing happen when I ping a hostname, but work on IP. Can you help me to correct the configuration. Here is all my settings:
Voici mes fichiers de configuration:
-... (2 Replies)
Discussion started by: beloge2002
2 Replies
5. UNIX and Linux Applications
Hi,
We've got a samba server running in our DMZ. Our users drag & drop files on it for vendors. Everything was working perfectly until the powers that be decided to build a trust between a couple of internal domains.
Samba is now querying each server in the trust. When a user browses... (5 Replies)
Discussion started by: mph
5 Replies
6. Red Hat
I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based.
I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies
7. Shell Programming and Scripting
Hello to all,
May you help saying me how to flush a specific domain in Linux SunOS5
I know the command rndc is to flush DNS cache, but I would like to know:
1- How to do a flush only on specific domain
2- How to see the content of DNS Resolver cache (similar to info given by IPCONFIG... (2 Replies)
Discussion started by: Ophiuchus
2 Replies
8. UNIX for Advanced & Expert Users
Hello,
Our organization is planning to move one domain from Dreamhost to Hubspot. Lets say, it is gem.xyxyxyxyx.com. Please note, website is not being migrated from one server to another, it is just hosting company.
Here is from our internal DNS master server -
# cat... (6 Replies)
Discussion started by: solaris_1977
6 Replies
9. UNIX for Beginners Questions & Answers
In my /etc/resolv.conf file there is domain name defined. But when I do nslookup the domain name is not appended. Why? (18 Replies)
Discussion started by: broy32000
18 Replies
LEARN ABOUT CENTOS
tk::callbacks
callbacks(3) User Contributed Perl Documentation callbacks(3)
NAME
Tk::callbacks - Specifying code for Tk to call.
SYNOPSIS
One can specify a callback in one of the following ways:
Without arguments:
... => &subname, ...
... => sub { ... }, ...
... => 'methodname', ...
or with arguments:
... => [ &subname, args ... ], ...
... => [ sub { ... }, args... ], ...
... => [ 'methodname', args... ], ...
DESCRIPTION
Perl/Tk has a callback, where Tcl/Tk has a command string (i.e. a fragment of Tcl to be executed). A perl/Tk callback can take one of the
following basic forms:
o Reference to a subroutine "&subname"
o Anonymous subroutine (closure) "sub { ... }"
o A method name 'methodname'
Any of these can be provided with arguments by enclosing them and the arguments in []. Here are some examples:
$mw->bind($class, "<Delete>" => 'Delete');
This will call $widget->Delete, the $widget being provided (by bind) as the one where the Delete key was pressed.
While having bind provide a widget object for you is ideal in many cases it can be irritating in others. Using the list form this behaviour
can be modified:
$a->bind("<Delete>",[$b => 'Delete']);
because the first element $b is an object bind will call $b->Delete.
Note that method/object ordering only matters for "bind" callbacks, the auto-quoting in perl5.001 makes the first of these a little more
readable:
$w->configure(-yscrollcommand => [ set => $ysb]);
$w->configure(-yscrollcommand => [ $ysb => 'set' ]);
but both will call $ysb->set(args provided by Tk)
Another use of arguments allows you to write generalized methods which are easier to re-use:
$a->bind("<Next>",['Next','Page']);
$a->bind("<Down>",['Next','Line']);
This will call $a->Next('Page') or $a->Next('Line') respectively.
Note that the contents of the "[]" are evaluated by perl when the callback is created. It is often desirable for the arguments provided to
the callback to depend on the details of the event which caused it to be executed. To allow for this callbacks can be nested using the
"Ev(...)" "constructor". "Ev(...)" inserts callback objects into the argument list. When perl/Tk glue code is preparing the argument list
for the callback it is about to call it spots these special objects and recursively applies the callback process to them.
EXAMPLES
$entry->bind('<Return>' => [$w , 'validate', Ev(['get'])]);
$toplevel->bind('all', '<Visibility>', [&unobscure, Ev('s')]);
$mw->bind($class, '<Down>', ['SetCursor', Ev('UpDownLine',1)]);
SEE ALSO
Tk::bind Tk::after Tk::options Tk::fileevent
KEYWORDS
callback, closure, anonymous subroutine, bind
perl v5.16.3 2014-06-10 callbacks(3)