08-23-2008
DNS on LAN
Hi all.
I am trying to use BIND9 as DNS server. All goes well, except that i can't lookup my relative LAN hostnames instead of full domain names.
F.e. i can lookup
host hostname.subdomain.domain
but can't
host hostname
This is my master zone file
---------------------
$TTL 3h
stub.saburovo.com. IN SOA solaravm.stub.saburovo.com. root.localhost. (
5
3h
1h
1w
1h )
stub.saburovo.com. IN NS solaravm.stub.saburovo.com.
localhost IN A 127.0.0.1
solaravm IN A 192.168.1.4
rhelvm IN A 192.168.1.5
bsdvm IN A 192.168.1.6
-------------------
so
host solaravm.stub.saburovo.com
work well
but
host solaravm
didn't
if i add CNAME statement like that
solaravm IN CNAME soalaravm.stub.saburovo.com.
i have error
zone stub.saburovo.com/IN: loading master file db.stub.saburovo.com: CNAME and other data
10 More Discussions You Might Find Interesting
1. Solaris
Hi ,
I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10.
How can I achieve this?
Thanks (1 Reply)
Discussion started by: deedee
1 Replies
2. Solaris
hey guys, how to add soalris box as a microsoft DNS Client ?
and how to register in the microsoft DNS ??
i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf
but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies
3. IP Networking
Ok! I started to do something and I got lost...and crazy! I got MW2000S gateway device that provides wireless internet access! It is configured to work as NAT. Clients connect to MW and have access to internet and it works beautifully! And now! In the same network I have Ubuntu machine. First I... (0 Replies)
Discussion started by: salvor_hardin
0 Replies
4. IP Networking
hi
i am stuck middle of this configuration.plz help me outta it.
/../chroot/etc/named.conf
// Enterprise Linux BIND Configuration Tool
//
// Default initial "Caching Only" name server configuration
//
options {
directory "/var/named";
dump-file... (0 Replies)
Discussion started by: csayantan
0 Replies
5. IP Networking
Hi,
We have a website running on a local centos 5.4 surfer, static IP.
The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server.
My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine.
However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies
6. UNIX for Advanced & Expert Users
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies
7. Red Hat
I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable
Reboot with lan cable:
The hostname is ubunut
Unable to connect Oracle database using sqlplus some times database is not... (2 Replies)
Discussion started by: LinuxLearner
2 Replies
8. Red Hat
Hi,
I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow:
http://img689.imageshack.us/img689/6333/12234.png
How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies
9. 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
10. Solaris
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
LEARN ABOUT SUSE
devel::selfstubber
Devel::SelfStubber(3pm) Perl Programmers Reference Guide Devel::SelfStubber(3pm)
NAME
Devel::SelfStubber - generate stubs for a SelfLoading module
SYNOPSIS
To generate just the stubs:
use Devel::SelfStubber;
Devel::SelfStubber->stub('MODULENAME','MY_LIB_DIR');
or to generate the whole module with stubs inserted correctly
use Devel::SelfStubber;
$Devel::SelfStubber::JUST_STUBS=0;
Devel::SelfStubber->stub('MODULENAME','MY_LIB_DIR');
MODULENAME is the Perl module name, e.g. Devel::SelfStubber, NOT 'Devel/SelfStubber' or 'Devel/SelfStubber.pm'.
MY_LIB_DIR defaults to '.' if not present.
DESCRIPTION
Devel::SelfStubber prints the stubs you need to put in the module before the __DATA__ token (or you can get it to print the entire module
with stubs correctly placed). The stubs ensure that if a method is called, it will get loaded. They are needed specifically for inherited
autoloaded methods.
This is best explained using the following example:
Assume four classes, A,B,C & D.
A is the root class, B is a subclass of A, C is a subclass of B, and D is another subclass of A.
A
/
B D
/
C
If D calls an autoloaded method 'foo' which is defined in class A, then the method is loaded into class A, then executed. If C then calls
method 'foo', and that method was reimplemented in class B, but set to be autoloaded, then the lookup mechanism never gets to the AUTOLOAD
mechanism in B because it first finds the method already loaded in A, and so erroneously uses that. If the method foo had been stubbed in
B, then the lookup mechanism would have found the stub, and correctly loaded and used the sub from B.
So, for classes and subclasses to have inheritance correctly work with autoloading, you need to ensure stubs are loaded.
The SelfLoader can load stubs automatically at module initialization with the statement 'SelfLoader->load_stubs()';, but you may wish to
avoid having the stub loading overhead associated with your initialization (though note that the SelfLoader::load_stubs method will be
called sooner or later - at latest when the first sub is being autoloaded). In this case, you can put the sub stubs before the __DATA__
token. This can be done manually, but this module allows automatic generation of the stubs.
By default it just prints the stubs, but you can set the global $Devel::SelfStubber::JUST_STUBS to 0 and it will print out the entire
module with the stubs positioned correctly.
At the very least, this is useful to see what the SelfLoader thinks are stubs - in order to ensure future versions of the SelfStubber
remain in step with the SelfLoader, the SelfStubber actually uses the SelfLoader to determine which stubs are needed.
perl v5.12.1 2010-04-26 Devel::SelfStubber(3pm)