Re: Disable automatic "Fallback" IP on 9.0-RC2 when a hostname cannot be resolved
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, AUTHORITY: 3, ADDITIONAL: 0 ;; QUESTION SECTION: ;*.wzff.de. IN ANY ;; ANSWER SECTION: *.wzff.de. 3600IN CNAME wzff.de. ;; AUTHORITY SECTION: wzff.de.86399 IN NS ns.inwx.de. wzff.de.86399 IN NS ns2.inwx.de. wzff.de.86399 IN NS ns3.inwx.de. ;; Query time: 170 msec ;; SERVER: ::1#53(::1) ;; WHEN: Sat Nov 26 21:49:33 2011 ;; MSG SIZE rcvd: 99 Yes, it is your DNS provider. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Disable automatic "Fallback" IP on 9.0-RC2 when a hostname cannot be resolved
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 local wasn't required on my previous machines, all of which ran Linux though, which is a different kind of beast.. The 8.2 machine I was talking about doesn't have wildcard domain names set. Best regards, Moritz ___ 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"
Re: Disable automatic "Fallback" IP on 9.0-RC2 when a hostname cannot be resolved
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 Trying 178.63.197.15... Connected to wzff.de. Escape character is '^]'. 220 wzff.de ESMTP Exim 4.72 Sat, 26 Nov 2011 20:18:45 +0100 QUIT 221 wzff.de closing connection Connection closed by foreign host. Same thing on the mail.wzff.de jail: # telnet foo1 25 Trying 178.63.197.15... Connected to wzff.de. Escape character is '^]'. jabber.barfooze.de: # telnet fu1 25 Trying 78.46.117.212... Connected to fu1.barfooze.de. Escape character is '^]'. 220 barfooze.de ESMTP Exim 4.76 Sat, 26 Nov 2011 20:25:57 +0100 Interestingly, on this jail it connects to a subdomain. I tried telnet and irssi, and both of them do this, so it's probably not an application bug either. Any hints where else I should look? Best regards, Moritz ___ 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"
Re: Disable automatic "Fallback" IP on 9.0-RC2 when a hostname cannot be resolved
Am 26.11.2011, 16:44 Uhr, schrieb Moritz Wilhelmy : 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 a suitable DNS or /etc/hosts record. I dislike when computers try to be smart like this, and I can't really think how this is useful, and it also doesn't happen on another machine that has a subdomain of something set as hostname and is running 8.2, so I want to disable it. Can anyone give me a hint how to do it? 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. Regards, Michael ___ 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"
Re: Disable automatic "Fallback" IP on 9.0-RC2 when a hostname cannot be resolved
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 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 a suitable DNS or /etc/hosts record. > > I dislike when computers try to be smart like this, and I can't really > think how this is useful, and it also doesn't happen on another machine > that has a subdomain of something set as hostname and is running 8.2, so > I want to disable it. Can anyone give me a hint how to do it? > If you can't, which of the numerous mailing lists would be the right one > to contact in this case? > > This is 9.0-RC2 on amd64, last updated 2011-11-09. > > > Best regards, > > Moritz > ___ > 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" ___ 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"
Disable automatic "Fallback" IP on 9.0-RC2 when a hostname cannot be resolved
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 a suitable DNS or /etc/hosts record. I dislike when computers try to be smart like this, and I can't really think how this is useful, and it also doesn't happen on another machine that has a subdomain of something set as hostname and is running 8.2, so I want to disable it. Can anyone give me a hint how to do it? If you can't, which of the numerous mailing lists would be the right one to contact in this case? This is 9.0-RC2 on amd64, last updated 2011-11-09. Best regards, Moritz ___ 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"