CentOS 5 :: Should /etc/hosts Contain 127.0.0.1 Host.domain Host?

Nov 14, 2009

I have installed CentOS 5.4 machine named test.example.com (192.168.1.1)File /etc/hosts contains:127.0.0.1 test.example.com test localhost.localdomain localhostI have read that the loopback addres should not be assigned to host name,only to localhost and the host name should be assigned to 192.168.1.1, like this:127.0.0.1 localhost.localdomain localhost192.168.1.1 test.example.com testIs there any reason why it should be one or another way?

View 6 Replies


ADVERTISEMENT

General :: CentOS 5.4 - Sendmail And Host Domain

Jul 7, 2010

I'm running CentOS 5.4 with sendmail. My computer hostname is bob.domain.com. Whenever I would nc -v 127.0.0.1 25 into sendmail I would get bob.domain.com on the banner. Whenever I send out email the emails would be user@bob.domain.com. I wanted the email to show up as user@domain.com. So in the etc/mail/sendmail.cf file I changed the line

Code:
Dj$w.hostname.com
to this

Code:
Djhostname.com
Now when I enter sendmail I see domain.com in the banner so I know the change took place. However, when I send email using

Code:
mail -s "test" xxx@xxx.com
then email still goes out as user@bob.domain.com. What other changes do I need to make?

View 5 Replies View Related

CentOS 5 Server :: Host Or Domain Name Not Found. Name Service Error : Postfix?

Jun 7, 2011

Tearing my hair out on this one a little bit, having problems sending message from web based PHP form to user inbox.I keep getting: Undelivered Mail Returned to Sender<me@mydomain.co.uk>: Host or domain name not found. Name service error for name=mydomain.co.uk type=A: Host not found.Running these commands:

$ hostname = mydomain.co.uk
$ hostname -f = mydomain.co.uk
$ postconf -n =

[code]....

View 6 Replies View Related

CentOS 5 :: Configure Sendmail To Accept Email Without Domain In Local-host-names

Mar 23, 2011

dammit... all that typing and I hit the wrong "submit" button. *sigh*

Ok, I have a couple of SMTP servers for our infrastructure. They are running Postfix. I have them configured so that specific email addresses such as support@mydomain.com and billing@mydomain.com all go to a new support server that I am building with osTicket. Lets call that server SUPP1.

SUPP1 runs sendmail from the default install of CentOS 5 i386. At this point everything runs great. New emails get added into the osTicket system via a pipe in sendmail. Here's where the problem comes in. In order to accept mail, sendmail has to have the domain listed in local-host-names and the addresses in virtusertable. That works just dandy. But in doing so, sendmail believes it is the destination SMTP server for "mydomain.com". That means that I can't send mail from that server back into my normal SMTP servers. So things like the LogWatch, cron jobs, etc can't send notifications. Is there a way to work around that? For sendmail to ignore local-host-names for outbound email or something?

View 1 Replies View Related

General :: Avoid SSH's Host Verification For Known Hosts?

Mar 29, 2010

I get the following prompt everytime I try to connect a server using SSH.

I type "yes", but is there a way to aovid this?

The authenticity of host '111.222.333.444 (111.222.333.444)' can't be established.

RSA key fingerprint is f3:cf:58:ae:71:0b:c8:04:6f:34:a3:b2:e4:1e:0c:8b.

Are you sure you want to continue connecting (yes/no)?

View 3 Replies View Related

Networking :: Add Host Name For The NIC Card Into /etc/hosts File

Jan 31, 2010

Instructions say "Add hostname for the NIC card into /etc/hosts file" do I touch or mkdir it in?

View 11 Replies View Related

Software :: Installed Red Hat 5 X64 On The Hosts, Each Host Has 2 Qlogic HBA's, Which Are Connected To IBM DS4800?

Feb 9, 2011

One our client has recently installed Red Hat 5 X64 on the hosts, each host has 2 Qlogic HBA's, which are connected to IBM DS4800.RH5X64 has MPIO built in or do we need to download? If download is required, pls provide link.

View 1 Replies View Related

General :: Host Command And Web Browser's Don't Accept Hosts.conf Order

Mar 4, 2011

Why does ping see audit.median.hu as 127.0.0.0, and why does host -t a audit.median.hu see it as 193.68.35.149? audit.median.hu is just an example site [hosts ads, etc.]

I just have a caching nameserver on my Fedora PC:

I configured my DNS server addresses in the Network-Manager Applet: 127.0.0.1, 8.8.8.8

Even with Wireshark, I can see it:

So the big question: Why don't the host command or my web browser recognize that I have modified audit.median.hus IP address?

View 1 Replies View Related

Security :: Hosts.Allow Vs. SSH / Sending Message Connection Closed By Remote Host?

May 29, 2010

I have set up SSH and redirected the ssh server to listen on another port other than 22 for a bit of added security.

Now in hosts.deny I have:

ALL : ALL

In hosts.allow I have:

SSH : ip_address_of_client

I can no longer connect. I get the message: ssh_exchange_identification: Connection closed by remote host.

When I change hosts.allow to read:

ALL : ip_address_of_client

I can successfully connect the server.

However, I only want to allow SSH access in hosts.allow. What is the correct syntax?

I have tried and failed with each one of these:

SSH : ip_address:port_number
SSH2 : ipaddress
sshfwd-portnumber : ip_address_of_client

View 2 Replies View Related

Networking :: Domain Name And Host Name ?

Feb 23, 2011

Domain name which is registered on the DNS for an IP and the name of the host with that IP need not be the same. am i right? I mean domain name and host name need not be the same. Is this correct?

View 2 Replies View Related

General :: Domain Not Available - Taken Over By Host Company

May 4, 2011

I have a domain I have never used for some years, the registrar put some adds in it, now I have hosted and configured this domain as a VPS and have started to put files in it but when I enter the domain in the browser, it still displays the adds index of the registrar although I have my own index file in /var/www/. I thought the domain was automatically "taken over" (I do not know the correct technical expression) by the hosting company when my hosting is accepted by the host after they install a bare distro. Obviously, my expectation was incorrect and there is something else I need to do.

View 2 Replies View Related

Programming :: Bash/Perl Script - Provide List Of Hosts To Choose From And Ssh To Chosen Host?

Apr 6, 2010

I'm not sure if this is best done in Perl or Bash. I'm thinking surely someone else has created something close to what I'm looking for. The results of the script would be that someone would kick off "linux_hosts.sh" r whatever you want to call it, then a top "folder" of options (with hosts contained within each of these top menu choices), then, based on which number corresponds to that top level, they're presented with a set of linux hosts that are relevant to that top level name. Example:

$ linux_hosts.sh
1. VMware hosts 4. Private Domain
2. ESX servers 5. Red Hat boxes

[code]...

View 4 Replies View Related

Ubuntu :: Using Domain To Host Second Site Separate From First

Mar 24, 2010

I have a Ubuntu Server that is correctly set up and has been working for awhile. It currently has a domain (Registered by GoDaddy) and it is used as the main. I just bought another domain (From GoDaddy) and I want it to connect to the same server but a different section to host a second site completely separate from the first.

So this is how I want it to be setup:
Domain1 = /var/www/
Domain2 = /var/www/website2

When I put Domain1 in the url like www.domain1.com it will connect to /var/www/
When I put Domain2 in the url like www.domain2.com it will connect to /var/www/website2

View 2 Replies View Related

Slackware :: Effort To Host Domain And Secure?

Nov 26, 2010

I'm really new to this subject. Instead of purchasing hosting services from another party, what requirements are necessary to host a domain yourself, i.e.:

1. Minimal connection speed
2. Minimal hardware requirements, e.g. disc space
3. Effort to host domain and secure Slackware
4. Will an average ISP provide sufficient reliability, i.e. uptime, and bandwidth?

View 7 Replies View Related

Server :: Host Unknown Error:Sendmail / Stat=Host Unknown (Name Server: Def-fgh.com.: Host Not Found)?

Sep 8, 2009

Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.

There are more examples of the same,around 20 domain have the same problem.

Sep 7 14:33:46 server2 sendmail[24591]: n8793jiC024589: to=<abc@xyz.fi>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=163672, relay=xyz.fi., dsn=5.1.2, stat=Host unknown (Name server: xyz.fi.: host not found)

Sep 7 22:09:42 server2 sendmail[6407]: n87Gdffa006403: to=<abc@def-fgh.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=152474, relay=def-fgh.com., dsn=5.1.2, stat=Host unknown (Name server: def-fgh.com.: host not found)

View 2 Replies View Related

Fedora Networking :: Local Host Names Without Domain Using Bind?

May 10, 2009

I want to use single label host names on my local LAN, without using any domain (at least no registered one). My machines should be named in a fashion similar to 'myserver', 'mydesktop' etc. so that i from a browser on any LAN machine may write 'http://myserver', and get the webserver on 'myserver' (so NO domain part, e.g. myserver.domain).

Do i need to create a DNS zone for each host or is there a way to put all host in a single zone, if so; which? Would such a name be considered a root domain?

View 4 Replies View Related

OpenSUSE :: Saving In YAST2 - Host Name And Domain Server Config

Jun 1, 2010

While in YAST2, everything seems to save fine except for the information in the "Host Name and Domain Server Configuration" screen. I have two servers side by side, the one works perfectly fine, the one does not. I can save the IP address and changes to DHCP and Static, but when I enter in the information for the Domain Name and Host Name, I click next, it saves, but when I go back in to it, the items I set are blank again. The boxes are not greyed out, you can type information in without error. When entering YAST, it requests the root pw which also works fine. I am not using any strange characters other than letters/numbers. I am going in to the screen by clicking network devices-->Netword Card-->Host Name and Name Server.

View 1 Replies View Related

Debian :: Configuration - Domain Name- Host Name - Resolv.conf Areas

Feb 6, 2009

I installed debian etch, it runs and does connect to the internet fine through a linksys router...the linksys router is connected to my cable modem...now..

I just registered for a domain name (ex. mydomainname.org) with Verio....this is where I am stuck.

I installed apache 2, a web server, file server (all seem to work) I need to know what files I need to configure to have my machine actually BE that domain name.

Ex. my linksys DHCP IP addresses, the linksys gets an IP from the cable modem...my yquestion is ONCE I register a domain name with verio...how do I configure my end so it "knows" I am that respective domain name...I think I need to configure the following, but knot sure how to do it: resolv.conf, hosts, and interface?

View 3 Replies View Related

Server :: Re-write Sender For User1 (regardless Of Host/domain) To Firstname1@first.fi?

Mar 29, 2011

I have a server which runs postfix. The same physical server is running web and mail services for several (3) domains, which I have reserved for future use (nothing serious or valuable, just freetime activities). Server "physical" address (also static IP) is myhost.domain.com. Lets say the other domains it serves are first.fi, second.net ad third.com. I can receive mails OK sent to all of these, I have added those 3 "extra" domains to the mydestination line in main.cf. Sending e-mails also works fine, but the sender is [URL].. I want the sender to be firstname@first.fi

I tried setting sender_canonical_maps = hash:/etc/postfix/sender_canonical in main.cf, and sender_canonical contains:

user1 Firstname1@first.fi
user2 Firstname2@first.fi

and I run postmap /etc/postfix/sender_canonical, and e-started postfix. But if I send e-mail as user1, the sender becomes [URl].. so it re-writed the username part, but hot the hostname/domain part. I also tried setting smtp_generic_maps = hash:/etc/postfix/generic but the results were similar. What do I need to do to re-write sender for user1 (regardless of host/domain) to Firstname1@first.fi?

View 10 Replies View Related

Server :: Post-fix Relay Error Host Or Domain Name Not Found

Apr 14, 2010

i am trying to get postfix to relay through my isp's smtp server, but i am getting an error.Host or domain name not found. Name service error for name=mail.grandecom.net type=A: Host not found, try again...i can send mail inside my domain, but when i try to send an email to a test gmail address i find the above error in the log.

View 10 Replies View Related

Ubuntu Networking :: Transfer Files From Cluster To Host And Then Host To Another?

Mar 4, 2010

I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.

this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.

The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.

View 3 Replies View Related

Networking :: How To Find Least Busy Host Given Hardcoded Host List?

Oct 12, 2010

I got a bunch of machines (~10) that I share with my co-workers. I have appropriate .ssh file(s) set up so I don't get prompt for password when I try to ssh.Currently I ssh into these hosts and then do a top to check the load before I start using the machine. Because I don't want to be on a busy host.Can someone show me how to write a script that find a least-busy host given a list of hosts to check? (hardcoded is fine)

View 1 Replies View Related

General :: Transfer Large Number Of Files Host To Host

Oct 20, 2010

I have two servers, one has an empty / and the other has a subdirectory with a large number (4 gig) with many, many files. I need a way to transfer the files en masse from the server with the large number of files to the one that is essentially blank.I don't have space on the used host to simply gzip all the files. I've googled this and see that there may be some combination of tar and/or gzip that will let me do this with some sort of redirection.

I really need and example line of how this can be accomplished. If my explanation seems rather sparse, I can supply more details.

View 3 Replies View Related

Server :: Apache2 Virtual Host Defaulting To Default Host

Oct 30, 2009

Bit of an odd one, this. I've migrated a website from my old server to a new machine. Both servers run Ubuntu + Apache2. Both only serve a single site, apart from the default site.I've flipped the domain name to the new IP address.The trouble is that after moving the virtual host config over into sites-available, with the necessary link in sites-enabled, Apache attempts to serve from the default web root (/var/www) rather than the actual site content (in /var/www/technology). So for example, an attempt to browse.

View 1 Replies View Related

Software :: Get Synergy Up And Running Between Windows 7 Host And Arch Host

Jul 3, 2011

I'm trying to get Synergy up and running between my Windows 7 (server) host and my Arch Linux (client) host. In rare exception, synergy works perfect on my windows host, however every time I try and run Synergy on my linux machine I get the following error in messages.log:

[code]...

I'm running Arch with a barebones Xorg install and SLiM with LXDE. I'm not sure what in the world is causing the problem and haven't been able to find anything of substance in a search.

View 2 Replies View Related

Server :: Plesk 9 - Send Domain Mail To Offsite / External Host

Apr 26, 2010

I am managing a Fedora dedicated server with Plesk 9 and just recently moved the email for one of the domains on the server to Google Apps for business. Unfortunately, I cannot get email messages from the website forms to deliver to addresses on this domain. For anyone familiar with Plesk, I have disabled mail in the hosting settings by un-checking the "Activate mail service on domain" checkbox and there are no accounts in the domain. (Other readings have indicated that this should be enough to allow mail to be directed to the appropriate server). My MX records correctly point to the google apps mail server.

I'm quite comfortable with command line, but I know almost nothing about the sendmail program or its alternatives and my attempts at researching how to set up this relay has been futile. I'm pretty sure I'm using sendmail and not qmail or anything else from what the red-hat style "alternatives" symlinks point to. I've also checked the /etc/mail/access, domaintable, mailertable, sendmail.cf, virtusertable, local-host-names, sendmail.cf, and submit.cf and most of these files are empty (except the .cf files), and the sendmail.cf and submit.cf make no reference to the domain in question.

Here is the output from a sendmail test that was was not received. (Private data omitted of course).
sendmail -v xxx@yyy.com
test email from yyy.com webserver. please ignore.
xxx@yyy.com... Connecting to [127.0.0.1] via relay...
220 my.server.com ESMTP
>>> EHLO my.server.com
250-my.server.com .....
Closing connection to [127.0.0.1]
>>> QUIT

Performing the same test and sending an email to a non-hosted domain works fine.

View 12 Replies View Related

General :: Ssh: Connect To Host 192.168.100.xxx Port 22: No Route To Host

Mar 9, 2011

I'm trying to ssh from my laptop to my desktop (both fedora 14) over a local network. I can ping my desktop and get responses, but if I ssh to it, I receive

ssh: connect to host 192.168.100.xxx port 22: No route to host

I can ssh from the desktop to itself.

View 4 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

Networking :: Very Low Network Performance In Host-to-host Connections

Jan 27, 2009

The internal network is behind nat done by the PC Router.The TP Link is recieving wireless signal from outdoors and it has switching and basic routing capabilities. I'm using the PC router for better routing options.PC Router (or R for short) is a triple-booting machine - Linux, FreeBSD and Windows. It has two lan cards - external (ext_if) - 100Mbps Realtek 8139 and internal (int_if) - 1Gbps integrated Realtek 8169.The problem is that all traffic from R to the network is slow - about 5-20K, while the traffic in the oppoiste direction is all right - about 10MB that is fine for 100Mbps cables, NICs and switches. The problem persist no matter the OS the pc R is running.I've tried some debugging on the situation as follows:

- put another PC at the place of R - everything is fine. That exclude the possibility of damaged cables, RJ-45s, switches and etc.
- connected both of the NICs to the Internet while the internal network is being disconnected and they both work fine (no delays)
- traffic shaping is not running
- there is nothing in firewalls except NATing the internal network (and it is working fine). Actually these firewall rules have been operational for more than months and everything was fine untill a week or two ago.
- changed the internal NIC with another
- connected the internal network directly to the TP and all of the PCs are getting good network performance. Then connected the R machine to the TP as well and there was good performance between the internal network PCs and R.
- R has good performance to the TP. In fact everything has good performance directly to the TP (when not connecting trough R).
- the problem persist only between R and machines from the internal network.

View 2 Replies View Related

Ubuntu Networking :: Domain - Unable To Resolve Host Whenever Try To Use The Sudo Command In The Terminal

Nov 4, 2010

Whenever I try to use the sudo command in the terminal I get the message unable to resolve host, then my computer name. Here's some command line output with some files which I think may be causing the problem. I have Operating Systems homework and need sudo

steve@steve-laptop:~$ sudo gedit /etc/resolv.conf
sudo: unable to resolve host steve-laptop
steve@steve-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain domain_not_set.invalid
search domain_not_set.invalid
nameserver 68.237.161.12
[Code].....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved