Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #55020

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

References (8 earlier) <l28oro$jla$2@dont-email.me> <5247f6bb$0$29988$c3e8da3$5496439d@news.astraweb.com> <l28v5k$fu7$1@dont-email.me> <mailman.446.1380453107.18130.python-list@python.org> <l292n0$1cg$1@dont-email.me>
Date 2013-09-30 00:19 +1000
Subject Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.452.1380464398.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Sep 29, 2013 at 9:25 PM, Νίκος <nikos.gr33k@gmail.com> wrote:
> superhost.gr.   14400   IN      MX      0       superhost.gr.
>
> mail    14400   IN      CNAME   superhost.gr.
>
> As for the mail iam afrid it outputs this:
> Code:
> Warning MX CNAME Check  WARNING: CNAME was returned for the following MX
> records:
> mail.superhost.gr
> The CNAME(s) that were returned are listed above. This is not ok per the
> RFCs and can cause problems including mail being lost!
> Error   MX A request returns CNAME      WARNING: MX records points to a
> CNAME. CNAMEs are not allowed in MX records, according to RFC974, RFC1034
> 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
> mail.superhost.gr points to ['superhost.gr']

Once again, you are posting code and errors that don't go with each
other. Your MX record does not point to mail.superhost.gr but to
superhost.gr itself. This makes it extremely difficult to help you.
EXTREMELY.

Two options: Either edit your bind file manually OR use some other
tool for viewing and editing it. If the latter, the bindfile is
utterly meaningless - look at the other tool. If the former, I would
rewrite your zone file like this:

-- cut --
$TTL 14400
@   86400   IN      SOA     ns1.superhost.gr.       nikosgr33k.gmail.com.  (
                                                2013092903 ;Serial Number
                                                86400 ;refresh
                                                7200 ;retry
                                                3600000 ;expire
                                                86400   )

@   86400   IN      NS      ns1
@   86400   IN      NS      ns2

@   IN      A       84.200.17.58

@   IN      MX      0 @

mail    IN      CNAME   @
www     IN      CNAME   @
ftp     IN      CNAME   @
-- cut --

The changes I've made are:
1) Remove the massive duplication of your domain name, mainly by using
the shorthand "@". (There are other shorthands you can use, too.)
2) Remove the dot from your email address. Currently your official
address is nikos@gr33k.gmail.com which is flat-out wrong. Fortunately
for you, Gmail will accept nikosgr33k@gmail.com no problem.
3) Eliding the TTLs where they're the same as your default
4) Removing the entry for localhost.superhost.gr which you shouldn't
really be using - it'll only confuse matters. Use localhost as a TLD -
that's how it's set up.

Aside from #2 and #4, this shouldn't actually change your DNS records,
but it'll make your bindfile that much easier to read and work with.

Of course, if you're editing the file with some other program, don't
do this at all. Just use that other program.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 10:49 +0300
  Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 10:53 +0300
    Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris Angelico <rosuav@gmail.com> - 2013-09-29 18:00 +1000
      Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 11:04 +0300
        Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris Angelico <rosuav@gmail.com> - 2013-09-29 18:07 +1000
          Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 11:19 +0300
            Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris Angelico <rosuav@gmail.com> - 2013-09-29 18:23 +1000
              Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 11:30 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 11:37 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-29 09:45 +0000
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 13:24 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Dave Angel <davea@davea.name> - 2013-09-29 11:11 +0000
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 14:25 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Dave Angel <davea@davea.name> - 2013-09-29 11:46 +0000
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 14:51 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-09-29 14:38 +0200
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris Angelico <rosuav@gmail.com> - 2013-09-30 00:01 +1000
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris Angelico <rosuav@gmail.com> - 2013-09-30 00:19 +1000
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 19:06 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-29 12:14 -0400
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 19:19 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Larry Hudson <orgnut@yahoo.com> - 2013-09-29 20:16 -0700
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-09-30 15:45 +0100
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-30 21:03 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-30 20:18 +0200
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-09-30 19:42 +0100
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-30 23:13 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-09-30 21:44 +0100
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-10-01 00:34 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-30 17:44 -0400
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-10-01 01:08 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-30 18:13 -0400
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-09-30 23:14 +0100
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-10-01 01:19 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-09-30 23:28 +0100
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-10-01 01:30 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris Angelico <rosuav@gmail.com> - 2013-10-01 08:43 +1000
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-10-01 01:48 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-30 23:50 +0000
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-09-30 22:47 +0100
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Ned Batchelder <ned@nedbatchelder.com> - 2013-09-30 14:54 -0400
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-30 22:51 +0200
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris Angelico <rosuav@gmail.com> - 2013-10-01 08:29 +1000
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-10-01 01:36 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris Angelico <rosuav@gmail.com> - 2013-10-01 08:56 +1000
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-10-01 02:14 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-10-01 09:27 +0200
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-10-01 11:39 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-10-01 11:10 +0200
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-02 01:36 +0000
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-10-02 09:23 +0200
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-10-02 11:52 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-10-02 11:49 +0300
                Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Grant Edwards <invalid@invalid.invalid> - 2013-10-01 14:29 +0000
                Mutual respect, tolerance, encouragement (was: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte) Ben Finney <ben+python@benfinney.id.au> - 2013-10-01 08:42 +1000
        Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Ned Batchelder <ned@nedbatchelder.com> - 2013-09-29 06:53 -0400
          Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-29 14:08 +0000
        Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Terry Reedy <tjreedy@udel.edu> - 2013-09-29 13:30 -0400
        Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Ned Batchelder <ned@nedbatchelder.com> - 2013-09-29 15:08 -0400
  Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris Angelico <rosuav@gmail.com> - 2013-09-29 17:53 +1000
    Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Νίκος <nikos.gr33k@gmail.com> - 2013-09-29 10:59 +0300
      Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-29 12:25 -0400
      Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Grant Edwards <invalid@invalid.invalid> - 2013-09-30 13:51 +0000
        Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-09-30 15:51 +0100
          Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-30 22:09 +0000
        Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte Chris Angelico <rosuav@gmail.com> - 2013-10-01 01:06 +1000

csiph-web