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
SQUIDGUARD(1) SquidGuard documentation SQUIDGUARD(1)NAME
squidGuard - Filter and redirector plugin for Squid and Squid3
SYNOPSIS
squidGuard [-u] [-C block]> [-b] [-t time] [-c file] [-d] [-P] [-v] [-h]
DESCRIPTION
squidGuard is flexible and ultra fast filter, redirector and access controller plugin for squid. It lets you define multiple access rules
with different restrictions for different user groups on a squid cache. squidGuard uses squid's standard redirector interface.
OPTIONS -u Update .db files from .diff files.
-C file|all
Create new .db files from urls/domain files, which are specified in "file".
-b Switch on progress bar when updating the blacklists.
-t time
Specify startup time in the format: yyyy-mm-ddTHH:MM:SS
-c file
Load alternate config file.
-d Send all errors to stderr.
-P Do not go into emergency mode when an error with blacklists is encountered.
-v Show version number.
-h Show the short help.
COPYRIGHT and LICENSE
Copyright (c) 1999 Tele Danmark InterNordia, Oslo, Norway
Copyright (c) 2006-2011 Shalla Secure Services, Gauting, Germany
This package 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
squidguard was written by Pal Baltzersen and Lars Erik Haland.
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 update-squidguard(1), squid(8), sgclean(1), hostbyname(1)Version 1.5 2012-04-20 SQUIDGUARD(1)
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)