Hello,
my 9.0-RC2 installation on furnace.wzff.de keeps connecting to wzff.de
if a hostname cannot be resolved. E.g. telnet foobar 25 connects me to
the SMTP server on wzff.de, same thing for another jail that uses a
subdomain of barfooze.de and tries to connect to barfooze.de if it can't
find
Change your DNS server to Google (8.8.8.8 and 8.8.4.4).
It's your DNS providers' doing.
On Nov 26, 2011, at 9:44 AM, Moritz Wilhelmy wrote:
Hello,
my 9.0-RC2 installation on furnace.wzff.de keeps connecting to wzff.de
if a hostname cannot be resolved. E.g. telnet foobar 25 connects me
Am 26.11.2011, 16:44 Uhr, schrieb Moritz Wilhelmy mor...@wzff.de:
Hello,
my 9.0-RC2 installation on furnace.wzff.de keeps connecting to wzff.de
if a hostname cannot be resolved. E.g. telnet foobar 25 connects me to
the SMTP server on wzff.de, same thing for another jail that uses a
subdomain
Hi,
Nope, it's not my DNS provider. I checked that.
On the furnace.wzff.de jail:
# cat /etc/resolv.conf
# Generated by resolvconf
nameserver 213.133.98.98
nameserver 213.133.99.99
nameserver 213.133.100.100
# host foo1
Host foo1 not found: 3(NXDOMAIN)
# grep foo1 /etc/hosts
# telnet foo1 25
Hi Michael,
On Sat, Nov 26, 2011 at 18:18:00 +0100, Michael Ross wrote:
Add e. g. ``search local'' to /etc/resolv.conf.
The behaviour is explained in man resolv.conf, search.
Or disable wildcard entries in your dns server config.
Thanks for pointing this out. Explicitely setting search
On 26/11/2011 19:26, Moritz Wilhelmy wrote:
Nope, it's not my DNS provider. I checked that.
# dig '*.wzff.de' IN ANY
; DiG 9.6.-ESV-R5-P1 *.wzff.de IN ANY
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 54277
;; flags: qr rd ra; QUERY: 1, ANSWER: 1,
hey guys,
I setup a FreeBSD 8.2 box to server as an LDAP server. I forgot that
I had a TLS cert with a different hostname than the one I selected. So
I edited /etc/rc.conf to change the name there
defaultrouter=192.168.1.1
hostname=LBSD2.summitnjhome.com ## -- used to be LBSD1
On 3/27/2011 9:18 PM, Tim Dunphy wrote:
hey guys,
I setup a FreeBSD 8.2 box to server as an LDAP server. I forgot that
I had a TLS cert with a different hostname than the one I selected. So
I edited /etc/rc.conf to change the name there
defaultrouter=192.168.1.1
hostname=LBSD2
that did it! thanks
On Sun, Mar 27, 2011 at 11:00 PM, Noel noeld...@gmail.com wrote:
On 3/27/2011 9:18 PM, Tim Dunphy wrote:
hey guys,
I setup a FreeBSD 8.2 box to server as an LDAP server. I forgot that
I had a TLS cert with a different hostname than the one I selected. So
I edited /etc
Connecting to 193.196.65.128 at port 139
...
Another side effect is that I don't have to use the -I parameter any
more the smbclient command gets conveniently short:
smbclient -U user%pass //ADS/DFS
smb: \
Unfortunately this mount_smbfs appears not to use hostname
resolution, all that I get from
how can I set the hostname so that it persists through reboots? I have
set the hostname I want in /etc/hosts but rebooting the change does
not show up. In CentOS you have /etc/hostname which serves this
purpose but in FreeBSD I don't know how to do this.
thanks
--
Here's my RSA Public key:
gpg
On Sat, 30 Oct 2010 16:00:39 -0400, Tim Dunphy bluethu...@gmail.com wrote:
how can I set the hostname so that it persists through reboots? I have
set the hostname I want in /etc/hosts but rebooting the change does
not show up. In CentOS you have /etc/hostname which serves this
purpose
On 10/30/10 4:00 PM, Tim Dunphy wrote:
how can I set the hostname so that it persists through reboots? I have
set the hostname I want in /etc/hosts but rebooting the change does
not show up. In CentOS you have /etc/hostname which serves this
purpose but in FreeBSD I don't know how to do
On Sat, 30 Oct 2010, Tim Kellers wrote:
On 10/30/10 4:00 PM, Tim Dunphy wrote:
how can I set the hostname so that it persists through reboots? I have
set the hostname I want in /etc/hosts but rebooting the change does
not show up. In CentOS you have /etc/hostname which serves this
purpose
On Sat, Oct 30, 2010 at 04:00:39PM -0400, Tim Dunphy wrote:
how can I set the hostname so that it persists through reboots? I have
set the hostname I want in /etc/hosts but rebooting the change does
not show up. In CentOS you have /etc/hostname which serves this
purpose but in FreeBSD I don't
Hello,
Does anyone have any ideas how to block all requests using an IPFW-based router
(FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) or better,
from any *.HOSTNAME.COM
Thank you in advance
___
freebsd-questions
Of Valerian Galeru
Sent: Thursday, June 17, 2010 3:01 PM
To: freebsd-questions@freebsd.org
Subject: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like
HOSTNAME)
Hello,
Does anyone have any ideas how to block all requests using an IPFW-based router
(FreeBSD 6.4) to and from
On Jun 17, 2010, at 1:01 PM, Valerian Galeru wrote:
Does anyone have any ideas how to block all requests using an IPFW-based
router (FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) or
better, from any *.HOSTNAME.COM
Start by blocking all traffic, add permit rules
Valerian Galeru said the following on 2010-06-17 22:01:
Hello,
Does anyone have any ideas how to block all requests using an IPFW-based router
(FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries)
or better, from any *.HOSTNAME.COM
Do a whois hostname.com taking note
Ok, very simple put:
To do this without shell scripting, but this could avoid filter future IP
addresses:
1. DIG HOSTNAMEs and add ipfw block rules for those IPs
2. DIG HOSTNAMEs and add a null rule
To block all *.hostname and future IP addresses of any of *.hostname, there
must be written
2010
Subject: Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an
A-like HOSTNAME)
Ok, very simple put:
To do this without shell scripting, but this could avoid filter future IP
addresses:
1. DIG HOSTNAMEs and add ipfw block rules for those IPs
2. DIG HOSTNAMEs and add a null
: Gary Gatten ggat...@waddell.com
Subject: Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an
A-like HOSTNAME)
To: 'valerian...@yahoo.com' valerian...@yahoo.com,
'freebsd-questions@freebsd.org' freebsd-questions@freebsd.org
Date: Friday, June 18, 2010, 12:08 AM
What about an entry
On Jun 17, 2010, at 1:56 PM, Valerian Galeru wrote:
Ok, very simple put:
To do this without shell scripting, but this could avoid filter
future IP addresses:
1. DIG HOSTNAMEs and add ipfw block rules for those IPs
2. DIG HOSTNAMEs and add a null rule
To block all *.hostname and future IP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 17/03/2010 22:06:30, Peter Steele wrote:
Is there any facility in FreeBSD for generating a random hostname? We
have a template with a fixed hostname that has to be changed after
the template is closed. It would be useful to have a hostname
Is there any facility in FreeBSD for generating a random hostname? We
have a template with a fixed hostname that has to be changed after
the template is closed. It would be useful to have a hostname
I have somewhere a Perl script that can be used/adapted to generate
pseudo English words.
You
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 18/03/2010 08:32:31, Matthew Seaman wrote:
On 17/03/2010 22:06:30, Peter Steele wrote:
Is there any facility in FreeBSD for generating a random hostname? We
have a template with a fixed hostname that has to be changed after
the template
Thinking about this some more, a good trick would be to generate a hostname
from the MAC address of the host, since that is guaranteed to be unique.
In fact, this is what we are currently using. Unfortunately I guess I wasn't
entirely clear. I was looking for a facility that actually *assigns
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 18/03/2010 11:57:56, Peter Steele wrote:
Thinking about this some more, a good trick would be to generate a
hostname from the MAC address of the host, since that is guaranteed
to be unique.
In fact, this is what we are currently using
I've ended up writing a service that runs after netif is complete and sets the
hostname based on the MAC address and also updates /etc/hosts. It does what I
need...
Thanks for all the replies on this...
___
freebsd-questions@freebsd.org mailing list
Is there any facility in FreeBSD for generating a random hostname? We have a
template with a fixed hostname that has to be changed after the template is
closed. It would be useful to have a hostname generated randomly.
___
freebsd-questions
On 17/03/10 23:06, Peter Steele wrote:
Is there any facility in FreeBSD for generating a random hostname? We have a
template with a fixed hostname that has to be changed after the template is
closed. It would be useful to have a hostname generated randomly.
uuidgen?
this command may be used
On 17/03/10 23:06, Peter Steele wrote:
Is there any facility in FreeBSD for generating a random hostname? We have a
template with a fixed hostname that has to be changed after the template is
closed. It would be useful to have a hostname generated randomly.
uuidgen may do the job for you
On Wed, Mar 17, 2010 at 05:06:30PM -0500, Peter Steele wrote:
Is there any facility in FreeBSD for generating a random hostname? We have a
template with a fixed hostname that has to be changed after the template is
closed. It would be useful to have a hostname generated randomly.
For random
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter Steele wrote:
Is there any facility in FreeBSD for generating a random hostname? We have a
template with a fixed hostname that has to be changed after the template is
closed. It would be useful to have a hostname generated randomly.
Hi
what was nearly hostname
wpFUCKOKSFRMIQyCfNBeU___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
On Sat, Jan 30, 2010 at 05:58:16PM -0500, Matt Emmerton wrote:
Gary,
But I do need the basics of having/serving/hosting two domains on one
computer.
What you are looking for are called virtual hosts.
See the examples in /usr/local/etc/apache22/extra/httpd-vhosts.conf.
The Apache
Guys,
As some of you might know, i am trying to host a friend's website on my
DNS and web server. Can anybody suggest what i have to add to my
/usr/local/etc/apache22/* files and directories to get
http://www.anacondabuilders.us to display since I do not
Gary,
But I do need the basics of having/serving/hosting two domains on one
computer.
What you are looking for are called virtual hosts.
See the examples in /usr/local/etc/apache22/extra/httpd-vhosts.conf.
The Apache documentation (mentioned in the above file) is also helpful.
Regards,
--
to configure IP address and hostname on freebsd systems
via kernel command line parameters? [etc]
When running diskless, the loader sets kernel variables like:
boot.netif.gateway=192.168.198.1
boot.netif.hwaddr=00:15:17:47:14:fc
boot.netif.ip=192.168.198.8
boot.netif.netmask=255.255.255.0
On Sun, 10 May 2009, Matthew Seaman wrote:
Pieter Donche wrote:
FreeBSD7 with isc-dhcp30-server.
It hands out an IP address, OK,
but the BASH environment variable HOSTNAME is not set. Why?
(A DNS server is active on the network and can succesfully be queried from
a FreeBSD bash command
,
On 6 May 2009, at 16:20, Mister Olli wrote:
is there a way to configure IP address and hostname on freebsd systems
via kernel command line parameters? [etc]
When running diskless, the loader sets kernel variables like:
boot.netif.gateway=192.168.198.1
boot.netif.hwaddr=00:15:17:47:14
On Sat, 9 May 2009, Mel Flynn wrote:
On Saturday 09 May 2009 15:09:45 Pieter Donche wrote:
case DHCP server DHCP client HOSTNAME env. var.
1 isc-dhcp30-server FreeBSD7-i386 not set
on FreeBSD-amd64
2 isc-dhcp30-server SuSE Linux 10.3 set
Pieter Donche wrote:
FreeBSD7 with isc-dhcp30-server.
It hands out an IP address, OK,
but the BASH environment variable HOSTNAME is not set. Why?
(A DNS server is active on the network and can succesfully be queried
from a FreeBSD bash command (nslookup or host) to see the hostname
associated
On Fri, 8 May 2009, Derek Ragona wrote:
At 09:42 AM 5/7/2009, Pieter Donche wrote:
FreeBSD7 with isc-dhcp30-server.
It hands out an IP address, OK,
but the BASH environment variable HOSTNAME is not set. Why?
(A DNS server is active on the network and can succesfully
On Saturday 09 May 2009 15:09:45 Pieter Donche wrote:
case DHCP server DHCP client HOSTNAME env. var.
1 isc-dhcp30-server FreeBSD7-i386 not set
on FreeBSD-amd64
2 isc-dhcp30-server SuSE Linux 10.3 set
on FreeBSD-amd64
3 some
At 09:42 AM 5/7/2009, Pieter Donche wrote:
FreeBSD7 with isc-dhcp30-server.
It hands out an IP address, OK,
but the BASH environment variable HOSTNAME is not set. Why?
(A DNS server is active on the network and can succesfully be queried from
a FreeBSD bash command (nslookup or host) to see
Every time I log in to xfce, it throws a warning that it cannot lookup
bsdbox (which is my hostname as defined in rc.conf). The warning
dialog suggests altering /etc/hosts to fix the problem. In fact, it's
not a problem because my WAN connectivity is fine, but I still want
to resolve
... :-)
What should I do to resolve this issue? In a situation like this
(note: I am behind a home router), is there actually anything I can
replace my.domain with?
It's important that /etc/hosts defines the values for
localhost and your selected hostname (bsdbox), at least
with the 127.0.0.1 IP
On Thu, May 7, 2009 at 8:14 AM, Daniel Underwood djuatde...@gmail.comwrote:
Every time I log in to xfce, it throws a warning that it cannot lookup
bsdbox (which is my hostname as defined in rc.conf). The warning
dialog suggests altering /etc/hosts to fix the problem. In fact, it's
, not that they ONLY contained that
phrase. So, yes, I'm referring to the lines starting with ::1 and
127.0.0.1.
Let me make sure I understand (part of) your advice. Since I set
hostname=bsdbox in rc.conf, I should replace localhost instances
in /etc/ttys ?
Thanks,
Daniel
*Correction*
In previous email, /etc/ttys -- /etc/hosts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
just meant that two lines contained
localhost localhost.my.domain, not that they ONLY contained that
phrase. So, yes, I'm referring to the lines starting with ::1 and
127.0.0.1.
Let me make sure I understand (part of) your advice. Since I set
hostname=bsdbox in rc.conf, I should replace
On Thu, 7 May 2009 09:37:59 -0400, Daniel Underwood djuatde...@gmail.com
wrote:
Let me make sure I understand (part of) your advice. Since I set
hostname=bsdbox in rc.conf, I should replace localhost instances
in /etc/ttys ?
No, the name localhost should be in your /etc/hosts,
along
FreeBSD7 with isc-dhcp30-server.
It hands out an IP address, OK,
but the BASH environment variable HOSTNAME is not set.
Why?
(A DNS server is active on the network and can succesfully be queried
from a FreeBSD bash command (nslookup or host) to see the hostname
associated with the IP-address
I added the line
127.0.0.1 bsdbox bsdbox.my.domain
and now it works perfectly, thanks!
Question: what does the line I added tell my computer? I.e., what does
that line do?
___
freebsd-questions@freebsd.org mailing list
On Thu, May 7, 2009 at 7:26 PM, Daniel Underwood djuatde...@gmail.comwrote:
I added the line
127.0.0.1 bsdbox bsdbox.my.domain
and now it works perfectly, thanks!
Question: what does the line I added tell my computer? I.e., what does
that line do?
The /etc/hosts file is used to
the given hostname to that IP adress. This
enables the system to resolve to this IP when the literal name
is given. This resolution is one of the basic principles.
Allthough the line works, it should be formed this way (or, it
should be two lines):
127.0.0.1 hostname.domain hostname
Hi,
is there a way to configure IP address and hostname on freebsd systems
via kernel command line parameters?
I have some freebsd systems in as xen domU's and it would be really
great to be able to set the ip address hostname within the
configuration file for the domU.
I'm aware that I could
Hi,
I would take a look at sysctl this system takes care of kernel
parameters. There are a few man pages that delineate what is read only.
I'm sure you are aware of setting the hostname at boot time. It seemed like
you were more curious about on the fly. I'm not familiar with xen domU's
Hi,
On 6 May 2009, at 16:20, Mister Olli wrote:
is there a way to configure IP address and hostname on freebsd systems
via kernel command line parameters? [etc]
When running diskless, the loader sets kernel variables like:
boot.netif.gateway=192.168.198.1
boot.netif.hwaddr=00:15:17:47:14:fc
I have a question. Is there a way that you can make the 'last' command
display the DNS resolved name of the users that have logged into a machine
rather than the IP address. Showing both name and IP address would be
even better.
I looked at the man page (man last) and it says Host names may
On Jan 17, 2009, at 11:20 AM, Troy wrote:
I have a question. Is there a way that you can make the 'last'
command
display the DNS resolved name of the users that have logged into a
machine
rather than the IP address. Showing both name and IP address would be
even better.
The issue is that
I'm having a minor problem with posting to the list. I have my own
mail server using postfix, fetchmail, and courier. I have several
domain names, and I'm using one for my mail server.
In my logs I'm seeing 450 errors for freebsd-questions since around
the end of last year, but I did have
I'm having a minor problem with posting to the list. I have my own
mail server using postfix, fetchmail, and courier. I have several
domain names, and I'm using one for my mail server.
In my logs I'm seeing 450 errors for freebsd-questions since around
the end of last year, but I did
SSH_CONNECTION
FTP_PASSIVE_MODE
EDITOR
I suspect linux to set them from .profile files (even /etc/profile) and not
hardcoded in a shell or login program. The default skeletons
Mel:
You were right to some extent. However, the problem is more
complicated (or less complicated,
On Monday 29 December 2008 11:12:33 Brian A. Seklecki wrote:
SSH_CONNECTION
FTP_PASSIVE_MODE
EDITOR
I suspect linux to set them from .profile files (even /etc/profile) and
not hardcoded in a shell or login program. The default skeletons
Mel:
You were right to some extent.
On Mon, 2008-12-29 at 12:05 -0900, Mel wrote:
I may be better off using getenv() in PHP directly.
For portability yes, since it doesn't rely on EGPCS, but otherwise
they give the same results.
Another option would be to pay the PHP people to add POSIX 1003.1-2001
gethostname(2). I'll ask
On Wednesday 24 December 2008 10:22:34 Brian A. Seklecki wrote:
All:
I've got a fun problem ...
I'm having trouble tracking down where the default list of exported
variables is set for sh(1).
I've got a piece of PHP code that runs on GNU/Linux but not FreeBSD
because (I think) $HOSTNAME
All:
I've got a fun problem ...
I'm having trouble tracking down where the default list of exported
variables is set for sh(1).
I've got a piece of PHP code that runs on GNU/Linux but not FreeBSD
because (I think) $HOSTNAME is exported by default.
The PHP CLI calls $_ENV[HOSTNAME], which
as mailserver for the few
in-house employees and as a webserver. The domain example.com is
registered with Dyndns.org who also run the Custom DNS service. The DNS
entries were checked with Dyndns.org staff and found in accordance with the
purpose.
During installation of the server, the hostname
of the server, the hostname myserver.example.com and
the domain name example.com were entered in the appropiate Sysinstall
dialog
.
/etc/hosts shows:
::1 localhost.example.com localhost
127.0.0.1 localhost.example.com localhost
192.168.1.13
and as a webserver. The domain example.com is
registered with Dyndns.org who also run the Custom DNS service. The DNS
entries were checked with Dyndns.org staff and found in accordance with the
purpose.
During installation of the server, the hostname myserver.example.com and
the domain name
The problem was that gdm was compiled with IPv6 support but the kernel
wasn't. This should not cause the gdm process to freeze and only exit
with kill -9 right?
Thanks,
Laszlo
___
freebsd-questions@freebsd.org mailing list
Hi All,
Do you have any idea what is the problem with my settings? gdm places
this message in /var/log/messages:
Nov 20 12:19:05 cassiopeia gdm-binary[1167]: ERROR: Unable to connect to
socket: hostname nor servname provided, or not known aborting...
The local X server starts, but gdm
At 07:19 PM 8/29/2007, Peter Pluta wrote:
Jonathan Horne wrote:
On Wednesday 29 August 2007 19:05:06 Peter Pluta wrote:
I have a box with 5 ip's pointing to it. Most of the things I run (http,
smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
wondering what
I and most of my clients who have hosted web sites
have just the one domain name. Does it make sense to
use the same domain name that your hosted web site
uses for your LAN?
--- Derek Ragona [EMAIL PROTECTED]
wrote:
Pick a domain you own, or buy a new one. They is
why there are so many
At 04:20 PM 8/30/2007, L Goodwin wrote:
I and most of my clients who have hosted web sites
have just the one domain name. Does it make sense to
use the same domain name that your hosted web site
uses for your LAN?
Sure does, no reason not to. The only issue may be having unique machine
not to. The only issue may be
having unique machine
names, but that shouldn't really be too tough.
Do you mean avoid giving any machines on your LAN the
same hostname as the (hosted) web server, mail server
and ftp server? I don't even know what the hostname
for the web server is. The mail and ftp
the domain just out of convenience many moons ago :)
I keep visualizing a domain as in 3-4 servers each of
which has a hostname mail, web, etc..
fairly close, some times you will actually find servers that actually are
named web mail, or have names after services. myself, i have names
for your LAN?
Sure does, no reason not to. The only issue may be
having unique machine
names, but that shouldn't really be too tough.
Do you mean avoid giving any machines on your LAN the
same hostname as the (hosted) web server, mail server
and ftp server? I don't even know what the hostname
the
same hostname as the (hosted) web server, mail
server
and ftp server? I don't even know what the hostname
for the web server is. The mail and ftp servers are
mail.domainname.com and ftp.domainname.com,
so
I guess I would not want to use these.
Correct, only use host names that are unique
the same domain name that your hosted web
site
uses for your LAN?
Sure does, no reason not to. The only issue may
be
having unique machine
names, but that shouldn't really be too tough.
Do you mean avoid giving any machines on your LAN
the
same hostname as the (hosted) web
On Aug 30, 2007, at 6:29 PM, L Goodwin wrote:
Do you mean avoid giving any machines on your LAN the
same hostname as the (hosted) web server, mail server
and ftp server? I don't even know what the hostname
for the web server is. The mail and ftp servers are
mail.domainname.com
--- Jeffrey Goldberg [EMAIL PROTECTED] wrote:
On Aug 30, 2007, at 6:29 PM, L Goodwin wrote:
Do you mean avoid giving any machines on your LAN
the
same hostname as the (hosted) web server, mail
server
and ftp server? I don't even know what the
hostname
for the web server
I have a box with 5 ip's pointing to it. Most of the things I run (http,
smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
wondering what the machines hostname should be? By default it's
localhost.localdomain. This has always confused me from the begining when I
first
At 07:05 PM 8/29/2007, Peter Pluta wrote:
I have a box with 5 ip's pointing to it. Most of the things I run (http,
smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
wondering what the machines hostname should be? By default it's
localhost.localdomain. This has always
On Wednesday 29 August 2007 19:05:06 Peter Pluta wrote:
I have a box with 5 ip's pointing to it. Most of the things I run (http,
smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
wondering what the machines hostname should be? By default it's
localhost.localdomain
Jonathan Horne wrote:
On Wednesday 29 August 2007 19:05:06 Peter Pluta wrote:
I have a box with 5 ip's pointing to it. Most of the things I run (http,
smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
wondering what the machines hostname should be? By default it's
of convenience many moons ago :)
I keep visualizing a domain as in 3-4 servers each of
which has a hostname mail, web, etc..
fairly close, some times you will actually find servers that actually are
named web mail, or have names after services. myself, i have names that
ive chosen, and then use DNS
Hello,
I have a FreeBSD 4.7-RELEASE-p28 server that was initially configured with
the hostname mydomain.com. I am trying to permanently change that to be
www.mydomain.com. I have added this line to my /etc/rc.conf file:
hostname=www.mydomain.com
but after restarting the server it continues
On Thursday 17 May 2007 01:27:52 pm Mike Barborak wrote:
Hello,
I have a FreeBSD 4.7-RELEASE-p28 server that was initially configured with
the hostname mydomain.com. I am trying to permanently change that to be
www.mydomain.com. I have added this line to my /etc/rc.conf file:
hostname
No, there's not. This is the entire rc.conf file:
hostname=www.mydomain.com
sshd_enable=NO
vsapd_enable=YES
enable_quotas=YES
clamav_clamd_enable=YES
spamd_enable=YES
spamd_pidfile=/var/run/spamd.pid
spamd_flags=-c -d -r ${spamd_pidfile} --socketpath=/var/run/spamd.sock
mysql_enable=YES
Thanks for the suggestions.
That's right, I'm not using DHCP.
I searched through /etc and /usr/local/etc for calls to hostname and for the
string www.mydomain.com and all I found was a call to the command hostname
in /etc/rc.network and my setting of the hostname variable in /etc/rc.conf.
After
Mike Barborak writes:
Perhaps another tack, what is the last script executed during
boot up? If I add a line like /bin/hostname www.mydomain.com to
/etc/rc.local should this force the hostname change?
Start with man rc.d.
Robert Huff
/rc.after_everything.d (same
permissions as /usr/local/etc/rc.d) and put a file named hostname.sh in that
directory with this content:
#!/bin/sh
/bin/hostname your_hostname_here
Make the file executable.
-Mike
On 5/17/07, Robert Huff [EMAIL PROTECTED] wrote:
Mike Barborak writes:
Perhaps another tack, what
Greetings
I get this message when booting my FBSD home webserver :
Apr 3 22:23:55 alice sm-mta[509]: My unqualified host name (alice)
unknown; sleeping for retry
From what I've understood after a bit of searching, the answer lies probably
in the /etc/hosts file. So here goes :
, the answer lies probably
in the /etc/hosts file. So here goes :
127.0.0.1 localhost alice
192.168.1.2 alice
The hostname alice should have a domain part. And it should match the
hostname that is set in /etc/rc.conf. E.g, if /etc/rc.conf says
hostname
Greetings
I get this message when booting my FBSD home webserver :
Apr 3 22:23:55 alice sm-mta[509]: My unqualified host name (alice)
unknown; sleeping for retry
From what I've understood after a bit of searching, the answer lies probably
in the /etc/hosts file. So here goes :
Firas Kraiem wrote:
Greetings
I get this message when booting my FBSD home webserver :
Apr 3 22:23:55 alice sm-mta[509]: My unqualified host name (alice)
unknown; sleeping for retry
From what I've understood after a bit of searching, the answer lies probably
in the
I get a messages from mx1.freebsd.org:
450 4.7.1 Client host rejected: cannot find your hostname,
[80.126.252.247]
Seems that the soa file of justnosweat.net is not on the dns server, I
get the root server.
I did a dig on the name server of freebsd dig @NS1.IAFRICA.COM
justnosweat.net any
1 - 100 of 279 matches
Mail list logo