HOSTBYNAME(1) SquidGuard documentation HOSTBYNAME(1)NAME
hostbyname - Expand domain or urls list with IP addresses
SYNOPSIS
hostbyname < urls > urls+ip
hostbyname < domains > domains+ip
DESCRIPTION
Hostbyname takes a squidGuard domain or urls list and does some half harted effort to expand it with the corresponding IP-addresses.
COPYRIGHT and LICENSE
Copyright (C) 2000 Pal Baltzersen
This script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
AUTHOR
hostbyname was written by Pal Baltzersen.
This manual page was written by Joachim Wiedorn <ad_debian at joonet.de> for the Debian project (and may be used by others).
SEE ALSO squidGuard(1), update-squidguard(1)Version 1.5 2012-04-20 HOSTBYNAME(1)
Check Out this Related Man Page
LILOCONFIG(8) liloconfig documentation LILOCONFIG(8)NAME
liloconfig - create new lilo.conf file (with diskid and uuid)
SYNOPSIS
liloconfig [-h] [-v] [-f] [lilo.conf]
DESCRIPTION
liloconfig is an simple program for creating a new lilo.conf file. After creating the new configuration file you must execute
'/sbin/lilo'.
liloconfig use the lilo.example.conf file as template. In the final lilo.conf file you find many useful comments for custom changes.
OPTIONS -h Print a brief help.
-v Print verbose messages.
-f Force overriding existing lilo.conf.
EXAMPLES
Lines in the configuration file /etc/lilo.conf:
### LILO global section ###
#large-memory
lba32
boot = /dev/sda
map = /boot/map
install = menu
menu-scheme = Wb:Yr:Wb:Wb
prompt
timeout = 100
vga = normal
#default = Linux
### LILO per-image section ###
#boot = /dev/sda
boot = /dev/disk/by-id/ata-SAMSUNG_SV1604N_S01FJ10X999999
image = /boot/vmlinuz-2.6.32-5book-686
label = "Linux"
#root = /dev/sda1
root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
read-only
# restricted
# alias = 1
# optional
initrd = /boot/initrd.img-2.6.32-5book-686
image = /boot/vmlinuz-2.6.32-5-686
label = "Linux Old"
#root = /dev/sda1
root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
read-only
# restricted
# alias = 2
# optional
initrd = /boot/initrd.img-2.6.32-5-686
COPYRIGHT and LICENSE
Copyright (C) 2011 Joachim Wiedorn
This script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
AUTHOR
lilconfig was written by Joachim Wiedorn.
This manual page was written by Joachim Wiedorn <ad_debian at joonet.de> for the Debian project (and may be used by others).
SEE ALSO lilo(8), update-lilo(8), lilo-uuid-diskid(8)23.1 2011-03-20 LILOCONFIG(8)
iam using gethostbyname for verifing whether net is active or not
it's work fine
but how it's work
i mean whether it is using ping or sending socket,
who it determining the internet .
thank u in advance
sree (2 Replies)
We have a code to find the DNS entry of a host that has a trailing '-' in its url (format example: mysite-.watch.com):
if(gethostbyname_r(host,host_ent,host_buffer,host_buffer_size,&host_error)==NULL)
{
//failed
}
But when remove the '-' from the host name the code does not return... (12 Replies)
Hi, does anyone knows how to get rid of this annoying warning? Thank you!
#include <netdb.h>
main()
{
gethostbyname("test");
}
$ gcc -static test.c
/tmp/ccW9HG18.o: In function `main':
test.c:(.text+0x19): warning: Using 'gethostbyname' in statically linked applications requires at... (3 Replies)
As we are facing issue with this server connection. The error is:
The system function gethostbyname() failed to find the client's host name.
how can i check if the server "server1" is able to resolve the client hostname (hosts / dns)?
i can ping the client from server.
any... (1 Reply)