02-07-2014
No, it's safer to have files first!
Especially "localhost" should not be searched in an external name service.
E.g. "swinstall" and several applications talk to localhost. And should work even if the network cable is unplugged...
This User Gave Thanks to MadeInGermany For This Post:
10 More Discussions You Might Find Interesting
1. IP Networking
Hi,
We use linux as a DNS server for our local network. ( linuxnol.nollekens.be )
We can ping this machine on all our XP clients like this:
C:\>ping linuxnol
Until yesterday it was on our XP clients enough to type "ping ibm250" ( our 2de unix server, an AIX ).
But after a shutdown of this... (1 Reply)
Discussion started by: progressdll
1 Replies
2. UNIX for Advanced & Expert Users
anyone ever seen this problem
with /etc/nsswitch.conf forcing the system to look in files then dns
but the system ignores the files and goes off check the dn servers
is there any further config I've missed ???
/etc/resolve.conf name servers >>>> boring IPS
/etc/nsswitch.conf is set to... (5 Replies)
Discussion started by: kie
5 Replies
3. Solaris
I have an issue with DNS on a solaris t2000
When I set up the zones there was an issue with the /etc/resolv.conf, I had made a typo in my DNS server.
I only noticed this after creating my new zones.
I have corrected this in the global zone and I am now able to ping and nslookup inthe... (2 Replies)
Discussion started by: james dewitt
2 Replies
4. Red Hat
Hi , I have configured OEL 5.3 server on VMware server,installation went fine, however when i am checking host using configured /etc/hosts i am getting following error let me know where it went wrong .
I had disabled firewall options and SELLinux.
root@oen11g ~]# host oen11g.grid.com
;;... (2 Replies)
Discussion started by: autoconfig
2 Replies
5. Red Hat
Hi all
m newbie in linux and trying to setup my internal DNS server for local network.After messing with DNS for hours i am posting this.
i have configured /etc/resolve.conf, hostname with domain name in /etc/sysconfig/network file,/etc/hosts file with local host entry and zone file... (1 Reply)
Discussion started by: Vaibhav.T
1 Replies
6. Red Hat
:wall:I am a beginer in Linux admin. I have build new DNS setting in my system. Please find the below procedure what I followed to build DNS. but at last when I fired nslookup command, its getting error. I am using RHEL5 OS. Please help me to resolve this below issue..
Advance thanks for... (1 Reply)
Discussion started by: pradipta_pks
1 Replies
7. Red Hat
i have redhat service as public dns i have added new entry but when i reload the named service i got this error in log
the working directory is not writable (1 Reply)
Discussion started by: leganti
1 Replies
8. Red Hat
Hello,
Having issue resolving DNS using the IP address.
Using the server Name it resolves fine.
Was wondering if there is any configuration issue.
# nslookup xxxxxxxx01
Server: Primary DNS IP
Address: Primary DNS IP#53
Name: xxxxxxxx01.local domain
Address: x.y.z.123
# nslookup... (1 Reply)
Discussion started by: ikn3
1 Replies
9. IP Networking
I'll try and be brief and detailed.
I have a Macbook Pro Retina running Mavericks. When on my network at the office (work) everything local works just fine. Local servers are resolved through our internal DNS settings. For example, we have a fileserver at "fs01". I can connect to it with... (1 Reply)
Discussion started by: jbhardman
1 Replies
10. Linux
Hi,
I have a Windows based Domain (abc.com)servers like:
172.30.1.246
172.30.1.247
172.30.3.246
172.30.3.247
On all my Linux servers (/etc/resolv.conf) have a following DNS servers entries:
nameserver 172.30.3.246
nameserver 172.30.3.247
But when i ping my Domain (abc.com), it... (5 Replies)
Discussion started by: refra
5 Replies
LEARN ABOUT DEBIAN
sql::translator::producer::oracle
SQL::Translator::Producer::Oracle(3pm) User Contributed Perl Documentation SQL::Translator::Producer::Oracle(3pm)
NAME
SQL::Translator::Producer::Oracle - Oracle SQL producer
SYNOPSIS
use SQL::Translator;
my $t = SQL::Translator->new( parser => '...', producer => 'Oracle' );
print $translator->translate( $file );
DESCRIPTION
Creates an SQL DDL suitable for Oracle.
producer_args
delay_constraints
This option remove the primary key and other key constraints from the CREATE TABLE statement and adds ALTER TABLEs at the end with it.
quote_field_names
Controls whether quotes are being used around column names in generated DDL.
quote_table_names
Controls whether quotes are being used around table, sequence and trigger names in generated DDL.
NOTES
Autoincremental primary keys
This producer uses sequences and triggers to autoincrement primary key columns, if necessary. SQLPlus and DBI expect a slightly different
syntax of CREATE TRIGGER statement. You might have noticed that this producer returns a scalar containing all statements concatenated by
newlines or an array of single statements depending on the context (scalar, array) it has been called in.
SQLPlus expects following trigger syntax:
CREATE OR REPLACE TRIGGER ai_person_id
BEFORE INSERT ON person
FOR EACH ROW WHEN (
new.id IS NULL OR new.id = 0
)
BEGIN
SELECT sq_person_id.nextval
INTO :new.id
FROM dual;
END;
/
Whereas if you want to create the same trigger using "do" in DBI, you need to omit the last slash:
my $dbh = DBI->connect('dbi:Oracle:mysid', 'scott', 'tiger');
$dbh->do("
CREATE OR REPLACE TRIGGER ai_person_id
BEFORE INSERT ON person
FOR EACH ROW WHEN (
new.id IS NULL OR new.id = 0
)
BEGIN
SELECT sq_person_id.nextval
INTO :new.id
FROM dual;
END;
");
If you call this producer in array context, we expect you want to process the returned array of statements using DBI like "deploy" in
DBIx::Class::Schema does.
To get this working we removed the slash in those statements in version 0.09002 of SQL::Translator when called in array context. In scalar
context the slash will be still there to ensure compatibility with SQLPlus.
CREDITS
Mad props to Tim Bunce for much of the logic stolen from his "mysql2ora" script.
AUTHORS
Ken Youens-Clark <kclark@cpan.org>, Alexander Hartmaier <abraxxa@cpan.org>, Fabien Wernli <faxmodem@cpan.org>.
SEE ALSO
SQL::Translator, DDL::Oracle, mysql2ora.
perl v5.14.2 2012-01-18 SQL::Translator::Producer::Oracle(3pm)