FAQ
When I run this program:

     package main
     import (
         "fmt"
         "net"
     )
     func main() {
         addr, err := net.LookupAddr("194.109.6.93")
         fmt.Println(err, addr)
     }

I get:

     <nil> [xs4all.nl.]

Why is there a dot at the end of the domain name?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Matt Cottingham at Dec 10, 2013 at 3:19 pm
    It's a feature. It specifies the fully-qualified domain name:
    https://en.wikipedia.org/wiki/Fully_qualified_domain_name.

    On 10 December 2013 15:16, Peter Kleiweg wrote:

    When I run this program:

    package main
    import (
    "fmt"
    "net"
    )
    func main() {
    addr, err := net.LookupAddr("194.109.6.93")
    fmt.Println(err, addr)
    }

    I get:

    <nil> [xs4all.nl.]

    Why is there a dot at the end of the domain name?

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedDec 10, '13 at 3:16p
activeDec 10, '13 at 3:19p
posts2
users2
websitegolang.org

2 users in discussion

Matt Cottingham: 1 post Peter Kleiweg: 1 post

People

Translate

site design / logo © 2021 Grokbase