Questions tagged [host]
232 questions
55
votes
5 answers
associate name with ip for ssh?
Let's say I just have an ip address for a server and I don't have a domain with it (it's just a database server, so it doesn't need a domain). I don't want to have to remember the ip address every time, so is there a way I could still use the syntax…

Matthew
- 1,769
- 4
- 21
- 32
39
votes
4 answers
FTP/FTPS/SFTP/SCP - Speed comparison
How do FTP, FTPS, SFTP, and SCP compare in terms of transfer rate and how can I compare them through testing?

Graham
- 399
- 1
- 3
- 3
38
votes
6 answers
Why can host and nslookup resolve a name but dig cannot?
Can anyone tell me why this is happening? I can resolve a hostname using host and/or nslookup but forward lookups do not work with dig; reverse lookups do:
musashixxx@box:~$ host someserver
someserver.somenet.internal has address…

musashiXXX
- 481
- 1
- 4
- 7
37
votes
4 answers
How do I find out what my IP Address of my MySQL host is?
I have a free domain running at x10hosting (x10.bz), and I want to find out the IP Address of my MySQL host for it, so I can contact the MySQL database from another host. I've already added that host to the access list, but now I need to find out…

Deniz Zoeteman
- 721
- 2
- 8
- 18
30
votes
5 answers
Auto-storing server host key in cache with plink
I've been trying to issue commands using plink to retrieve information from my external server. Note that these plink commands are run from a binary that expects no input from the user. Is there a flag that will allow me to override this error…

Tad Oh
- 303
- 1
- 3
- 5
25
votes
10 answers
Running 100 virtual machines on a single VMWare host server
I've been using VMWare for many years, running dozens of production servers with very few issues. But I never tried hosting more than 20 VMs on a single physical host.
Here is the idea:
A stripped down version of Windows XP can live with 512MB of…
Dennis Kashkin
20
votes
3 answers
How to set multiple subdomains in the host file (DNS)?
I have a lot of subdomains in the main domain xxx.zzz
So, for this domain, I can have
aaa.xxx.zzz
bbb.xxx.zzz
ccc.xxx.zzz
ddd.xxx.zzz
eee.xxx.zzz
....ETC....
Istead of adding each subdomain in the host file, I would like to add only the main…

Milos Cuculovic
- 401
- 2
- 8
- 21
17
votes
2 answers
What's the difference between `dig` and `host` when querying a specific name-server?
I was using this command to verify if I'd set things up correctly with a DNS provider:
host hostname.example.com ns1.example-nameserver.com
As far as I can tell, this asks ns1.example-nameserver.com to look up hostname.example.com and reports the…

jhabbott
- 291
- 1
- 3
- 8
17
votes
4 answers
Apache CustomLog to log full URL
I'd like to add a CustomLog directive to my apache configuration to log the full URL requested (or at least the host portion of the URL). I have several domains being handled by the same instance of apache, and would like to be able to distinguish…

jrdioko
- 567
- 5
- 9
- 18
11
votes
2 answers
How to restart after making chnages to hosts.allow
I have made chnages /etc/hosts/allow like
ALL:ALL
I have to restart the whole computer to check that , is there any service which i can restart to check the setting
John
10
votes
1 answer
openvpn client: force a host resolution to a given IP
Is it possible on the client side to setup the client.conf file to resolve a particular host/domain to a given IP.
For instance, domain.tld resolve usually from the Internet NS to 1.2.3.4
host domain.tld => 1.2.3.4
I would like to force domain.tld…

Déjà vu
- 5,408
- 9
- 32
- 52
8
votes
1 answer
Linux/Unix - /etc/sudoers - host definition
can anybody tell me in which case the sudo host definition is useful?
I mean this part of a line in the sudoers file:
bob host1 = NOPASSWD: reboot
In which environment (except sudo via LDAP) do I need to define the host on which a user can run the…

Andreas
- 81
- 1
8
votes
4 answers
Setting new hostname on CentOS, it changes back after restart
On CentOS (5.x) I have a VPS that has hostname set to "olddomain.com", at least this is the domain I am getting when typing "hostname" command.
I want to change it to 'localhost.localdomain' because I think it is more generic and…

adrianTNT
- 1,007
- 5
- 21
- 41
7
votes
1 answer
Why do dig, host and nslookup return different results?
It seems my default (router) DNS server returns different results depending on the tool used to query it.
Using dig:
$ dig @192.168.1.2 test.example.com
; <<>> DiG 9.16.8-Debian <<>> @192.168.1.2 test.example.com
; (1 server found)
;; global…

Jaap Joris Vens
- 561
- 2
- 7
- 18
6
votes
1 answer
Started task in z/OS lacks RACF privileges
I wish to test a JDBC server implementation running under z/OS. The usual approach would be to define a JCL procedure and run this as a started task. The started task requires a user ID under which it would run. The JDBC jars are placed in a ZFS…

Achim Schmitz
- 161
- 3