Server :: DNS In Centos - Enter Ip Or Address Nslookup Does Not Reply Any Answer

May 5, 2010

When i enter ip or address nslookup does not reply any answer. It shows no server found. "servfail". This is my named.conf file:


View 3 Replies


Programming :: Write Little Quiz To Give Different Answer When Given Yes Or No Reply?

May 20, 2010

I am trying to write little quiz to give different answer when given yes or no reply, however I got stuck with this. I am very very new to Python so please have patience. Can someone give me a sugesstions?

This is my code so far:
name = raw_input("
What is your name")
print "
Hello, " + name + "."


View 8 Replies View Related

CentOS 5 Networking :: Unable To Ping - No Reply From Certain Address While Others Work Ok

Jun 25, 2009

I run an centos server. From the console I can ping and get a reply. But when I ping another address say, the IP address is resolved ( but there is no reply. In the same network in our office from my desktop I ping [URL] and there is a reply.I turned of the firewall but still the same problem.

View 9 Replies View Related

CentOS 5 Server :: BIND Nslookup Don't Work From Clients OS?

Oct 20, 2009

Don't work nslookup from clients guest OS.I have LinuxMint 7 and I'm installed VirtualBox on her. I created three guests OS. Two CentOS and XP

The first CentOS
The second CentOS
The third XP[code].....

On the clients guest OS nslookup don't work. It write : timed out; no servers could be reached .What is going on? Why nslookup don't work from clients guest OS?On client machine in the file /etc/resolv.conf have record ameserver

View 2 Replies View Related

CentOS 5 Server :: Home DNS Server Refuses To Answer Requests

Aug 25, 2009

I have a home DNS server that has been working for some time today. Today I restarted to restarted it to clear the cache on it and now it refuses to answer and requests. Named starts fine with no errors. Here is named config file that worked for about 2 weeks fine and now doesn't want to work.

options {
directory "/etc";
pid-file "/var/run/named/";
forwarders {;
forward only;
zone "." {
type hint;
file "/etc/db.cache";

View 1 Replies View Related

Programming :: Finding IP Address: Nslookup Or Ifconfig

Oct 14, 2010

I am trying to find IP address. In a socket programming tutorial, I found :

$ nslookup localhost
command. It gives me a address. However, one colleague told me :

$ ifconfig

It also returns me inet_addr. But both are different. Kindly tell me the correct method to find IP address? I have also checked the /etc/hosts file but it says "localhost"

View 2 Replies View Related

CentOS 5 Server :: Apache Hanging On Forum Reply Posts?

Apr 1, 2010

I recently moved my site to a new server (Apache 2, PHP5, MySQL5). The site is an Invision based forum. Every few posts / topics it just hangs. The data has been written because if you stop and reload, the post / thread is there. I thought it was a write issue initially, but nope. So, the data is written but the page load never completes. It doesn't leave the page where the data has been input.

Whats the best way to trouble shoot this issue? The only thing I have done recently is reduce my MySQL timeouts, but I can't see that being an issue as the values are still big enough and there are no mentions of timeouts in the MySQL log. (For the record there is nothing in PHP's error log either)

I have checked my server-status. It all looked ok, but I have a suspicion I was hitting my ServerLimit, so I doubled that. Also enabled my Keepalives. Will keep an eye on it.

Some additional info;

1. Apache is throwing seg faults, but enabling core dumps does not produce them.

2. I have tried disabling the modules in apache but it just stops things from working.

3. I fear it may actually be DNS related. If I watch Live Headers in Firefox, absolutely nothing happens during this 'hanging' period. After that, the responses come back fairly promptly.

View 7 Replies View Related

CentOS 5 Server :: Dnsmasq Starts But Doesn't Reply To Queries

Sep 5, 2010

trying to configure a Centos 5.5 server (simple file server with DHCP and DNS relay). I configured and tested the config (by 'service dnsmasq configtest') of dnsmasq and I got the message 'dnsdomain:host unknown (translation of the real message : hte inconnu) and I didn't find where I could define this host ! The hostname of the server is well defined and I can see it from all Windows PC's on the LAN. dnsmasq starts (with hte same message as in configtest) but when querying DNS from PC's te.g. trying to surf the Internet), I don't get replies (3 DNS servers are also well defined and operational).

View 2 Replies View Related

CentOS 5 Server :: Centos And Xen: Lan Error - Vif0.0: Received Packet With Own Address The Source Address

Jun 18, 2010

I installed the Centos 5.5 and after the Xen. After I put a virtual machine named VM01.Initially it worked properly, I tried everything and it worked.When rebooted, I had problems with the network.I have two network cards eth0 and eth1, but eth1 does not have any ip and I use only eth0.The error that appears is:

vif0.0: received packet with own address the source address

View 3 Replies View Related

Server :: Web-server Doesn't Reply To External Request / But It Reply's To Local Request

May 11, 2009

I am new in linux,I installed apache-tomcat on fedora.I can view all web pages on localhost:8080 but when I try to view them by server's url address from another computer, I don't get respond.Can it be a firewall problem or something else?

View 4 Replies View Related

General :: Answer "Enter Your Coice: [1-3]" Via Shell Script?

Jan 19, 2011

I have a problem in my shell script. I try to control an installation.During the installation there are a few questions which have to be answered.Like: "Enter your Choice [1-3]: "I want do something like this:

--> It's my first script <--
echo "--> Install packages <--"


View 4 Replies View Related

Ubuntu Servers :: DNS - Ping A LAN Device By Name - Get Reply With Only The IP Address

May 2, 2010

I have configured DNS on ubuntu server 8.10 and it is working fine. There is one question I have though. Everytime I ping a LAN device by name I get the reply from the server with only the IP Address.

View 2 Replies View Related

Programming :: C/C++: Broadcast Receives No Answer - Can't Find Right Answer

May 18, 2010

How can I set the outgoing port for the socket? In wireshark, my outgoing port is 1024, and i want to set it to 6800 (or a similar port) I see the outgoing broadcast-message in wireshark, but no answer. There are three ECU's in the LAN, which should answer. The following code is a mixture of C/C++ and jointed from different articles:


In wireshark I can only see the outgoing message. But the "recvBuffer" (in the lower part of the code) contains the same content as the sendBuffer. Is it right, that I need a sender and further more a receiver? Or should I receive the broadcast-answer on the same socket on which I send the bc?

View 5 Replies View Related

General :: Get The Ip Address Of Host Using Of Host And Nslookup Command?

Oct 20, 2010

HOW TO GET THE IP ADDRESS OF HOST IN LINUX WITH USING OF HOST AND NSLOOKUP COMMAND and after getting the ip address how to assign it in the variable

View 4 Replies View Related

CentOS 5 Server :: Login As Postgres User And Enter Commands?

Sep 10, 2010

I've had a server setup working perfectly for the last 2 years. Today we installed a newer version of postgresql and recompiled apache/php.

Postgresql will not start now.

"service postgresql start" = /var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first. To initdb we need to be as user postgres.

"su - postgres" = "no file or directory"

In /etc/passwd = postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash

how i can login as postgres user and enter these commands?

View 2 Replies View Related

CentOS 5 :: Unable To Find An Answer To Yum Segfaulting?

May 15, 2010

I have been looking for a while and I am unable to find an answer to yum segfaulting.

I have tried:
yum clean all
rm -f /var/lib/rpm/__*
rpm --rebuilddb

I tried upgrading yum and rpm to the newest versions in 5.5 and I still run into the same problem.

fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xbfcaf694) = 0
fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0xbfcaf694) = 0
fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xbfcaf694) = 0
access("/var/cache/yum/base/primary.xml.gz.sqlite-journal", F_OK) = -1 ENOENT (No such file or directory)
fstat64(6, {st_mode=S_IFREG|0644, st_size=20480, ...}) = 0


View 9 Replies View Related

Networking :: How To Make Nslookup Return Failure If DNS Server Fails

Mar 23, 2011

I'm trying to find a command to tell nslookup, "I want you to try to resolve hostname X using DNS server Y, and if the lookup fails, just output failure do NOT fail over to some other DNS server as a backup and use it to try to resolve the same hostname."I'm trying to follow the man page instructions for doing this, but it doesn't seem to work. The man page for nslookup on my system (CentOS 5.5) includes the line:

"[no]fail Try the next nameserver if a nameserver responds with SERVFAIL or a referral (nofail) or terminate query (fail) on such a response."But if I try using that option, the output seems to indicate that after the lookup failed on, nslookup failed over to (the first nameserver listed in my resolv.conf -- an OpenDNS nameserver) and used it to resolve the hostname instead.

View 2 Replies View Related

CentOS 5 Server :: Qmail Server Is Not Notifying Email Address Does Not Exist

Oct 27, 2010

One of our client having issue with the qmail. The issue is if any one send email to ( the email address which is not exist) it should send failure notification i.e."email does not exist" to the sender. The qmail server is not notifying that email address does not exist.

View 1 Replies View Related

General :: Can't Get An Authoritative Answer From A DNS Server

Apr 23, 2011

When I type 'nslookup some site',the result I always get is a non-authoritative answer. How can I get an authoritative answer?

View 3 Replies View Related

Ubuntu Servers :: What IP Address To Enter In Config File When Assigning A Static IP

Apr 6, 2010

How do I decide what IP address to enter in my config file when assigning a static IP. All of the instructions I can find say something like "of course you should modify the file according to your own settings." Should I just use the gateway and IP that returns from "iwconfig" and "route -nee"?

View 5 Replies View Related

Server :: Whois Does Not Reply

Dec 2, 2010

anyone can explain me why whois sometime does not reply for some ip only ?

View 4 Replies View Related

Server :: Getting Modem To Answer On The Correct Ring

Aug 2, 2010

I am having issues getting the modem it the dial-in server I have set up to answer on the correct ring. I have the /etc/inittab set:

Code: S1:2345:respawn:/sbin/mgetty -n 7 -x 6 -D ttyS2 yet I have to play with 'init q' and minicom to get it to answer on ring 7. Then a reboot destroys the setting and I have to go through the whole hassle again and it goes back to answering on the first ring.

This is not acceptable. This dial-in server is only a very back door into my network. It is only turned on when needed. Most of the time it is not powered up. When it is turned on it is by a non-tech person with out the ability to jump through the hoops to get it to answer on the correct ring.

Ideally I want this modem to just listen to the line after it stops ringing to check for a data signal and if it does not find it just hang up. If it finds a data signal then establish a connection and all that. That way it does not interfere with answering machine on the line. Google has yielded very little info about setting up dial-in servers. Modems are not used very much any more.

View 4 Replies View Related

Server :: How To Change IP Address On CentOS

Jan 9, 2010

how to change ip address on centos 5.3 ?i could not search the file such as "interface" ,

View 3 Replies View Related

CentOS 5 Server :: All Emails Go To One Address?

Apr 6, 2011

I am working for the first time on a dedicated server with CentOS. I have sendmail and postifx installed and I realized all the emails send by the server are redirected to my own private address.

For example if I want to send an email to "", I will receive it in my box (ex "")... I also receive in my box the logwatch which should be send to

That is very strange and I really don't understand what does that.

View 3 Replies View Related

Ubuntu Networking :: Change The Proxy Settings And Put In The IP Address And Enter The Port To 3000?

Nov 8, 2010

My college providers shifted to a different setting.. I'm not sure what needs to be done. On windows, under the connections tab you need to change the proxy settings and put in the IP address and enter the port to 3000. Questions:

1. where lies the linux (ubuntu 10.04) variant to execute the operation.

2. What can be the major obligations of such a change?

I am sure its siimple enough, but I can't get my net to work properly. The connection provided to the internet is through wireless routers.

View 5 Replies View Related

Server :: CentOS 5.3 - Assign IP Address To Printer

Jan 28, 2011

My server is Linux (centos 5.3). In Server System Dhcp server is running, so it assign ip address to client windows .....
1. I want to assign ip address to Printer (printer Hp laser 3055 )
2. How do I configure cups (Network Printer) in linux server
3. How to configure printer in windows client....
How to do this.

View 1 Replies View Related

CentOS 5 Server :: IP Address Assigned Twice To Etho:0?

Nov 18, 2009

I'm stumped here as it seems like after an update etho:0 has assigned itself 2 x IP Addresses. I don't understand how this happened or how to fix it so some help would be great as I cannot access cPanel while it's like this or my sub directories.Here is a print of ifconfig

-bash-3.2# ifconfig
eth0 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
inet addr: Bcast: Mask:


View 4 Replies View Related

CentOS 5 Server :: Trying To Assign Static IP Address

May 1, 2010

i am trying to assign a Static IP address and for the life of my i cannot get it to work Can someone explain to me the easiest way to do it and if i restart the server it won't get lost either.

View 1 Replies View Related

CentOS 5 Server :: Cannot Send Email - Bad Address

May 5, 2010

I've come across a strange issue where any email address that I email with mail returns an error "Bad Address"

Fairly new Centos 5.4 Install, sendmail is the MTA.
Linux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
DNS is working fine so there isn't a problem.
[root@hn1 /]# host -t mx mail is handled by 10 mail is handled by 10 mail is handled by 30

Yet when I try to use mail it fails:
[root@hn1 /]# which mail
[root@hn1 /]# ls -lrth /bin/mail
-rwxr-xr-x 1 root mail 83K Jan 7 2007 /bin/mail
[root@hn1 /]# mail -s "test"
Bad address
Nothing in the maillog.

View 1 Replies View Related

Server :: Auto-Reply Incoming Mails

May 6, 2010

i have a mail server that uses Postfix as a mail server, it runs ok, but i need to add some features to a specific users only.what i need to add is Auto-reply message for some users only.

View 5 Replies View Related

Copyrights 2005-15, All rights reserved