DNS resolution issues with 5.0.5 - SCO

This is a discussion on DNS resolution issues with 5.0.5 - SCO ; I cannot get my SCO server to properly resolve destinations for our EDI sends. I get host name lookup failure unless I specify the same DNS server that is already in resolv.conf. Can anybody give me a clue? My resolv.conf ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: DNS resolution issues with 5.0.5

  1. DNS resolution issues with 5.0.5

    I cannot get my SCO server to properly resolve destinations for our EDI
    sends. I get host name lookup failure unless I specify the same DNS
    server that is already in resolv.conf. Can anybody give me a clue?

    My resolv.conf is:

    domain hsinj
    hsifs 192.168.1.15
    hostresorder local bind

    Doing a DNS query:

    # dnsquery -d www.ebay.com

    ;; res_querydomain(www.ebay.com, , 1, 255)
    ;; res_query(www.ebay.com, 1, 255)
    ;; res_mkquery(0, www.ebay.com, 1, 255)
    ;; res_send()
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47877
    ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    ;; www.ebay.com, type = ANY, class = IN
    ;; Querying server (# 1) address = 0.0.0.0
    res_send: send: Connection refused
    ;; res_query: send error
    ;; res_querydomain(www.ebay.com, hsinj, 1, 255)
    ;; res_query(www.ebay.com.hsinj, 1, 255)
    ;; res_mkquery(0, www.ebay.com.hsinj, 1, 255)
    ;; res_send()
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47878
    ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    ;; www.ebay.com.hsinj, type = ANY, class = IN
    ;; Querying server (# 1) address = 0.0.0.0
    res_send: send: Connection refused
    ;; res_query: send error
    Query failed (h_errno = 2) : Host name lookup failure


    If I specify the DNS server on the command line:

    dnsquery -d -n hsifs www.ebay.com

    ;; res_query(www.ebay.com, 1, 255)
    ;; res_mkquery(0, www.ebay.com, 1, 255)
    ;; res_send()
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9502
    ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    ;; www.ebay.com, type = ANY, class = IN
    ;; Querying server (# 1) address = 192.168.1.15
    ;; got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9502
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 4
    ;; www.ebay.com, type = ANY, class = IN
    www.ebay.com. 15m59s IN CNAME hp-core.ebay.com.
    hp-core.ebay.com. 43m56s IN A 66.135.208.89
    hp-core.ebay.com. 43m56s IN A 66.135.208.90
    hp-core.ebay.com. 43m56s IN A 66.135.192.123
    hp-core.ebay.com. 43m56s IN A 66.135.192.124
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9502
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 4
    ;; www.ebay.com, type = ANY, class = IN
    www.ebay.com. 15m59s IN CNAME hp-core.ebay.com.
    hp-core.ebay.com. 43m56s IN A 66.135.208.89
    hp-core.ebay.com. 43m56s IN A 66.135.208.90
    hp-core.ebay.com. 43m56s IN A 66.135.192.123
    hp-core.ebay.com. 43m56s IN A 66.135.192.124
    #

  2. Re: DNS resolution issues with 5.0.5

    Tony D. typed (on Mon, Oct 17, 2005 at 05:29:48PM -0400):

    | I cannot get my SCO server to properly resolve destinations for our
    | EDI sends. I get host name lookup failure unless I specify the same
    | DNS server that is already in resolv.conf. Can anybody give me a
    | clue?
    |
    | My resolv.conf is:
    |
    | domain hsinj

    Huh? What kind of domain is that? Not xyz.com, not abc.org, not
    mno.net, not even something.uucp ???

    | hsifs 192.168.1.15

    What is that line supposed to mean to the DNS resolver? It's hardly one
    of the proper directives for the resolv.conf file.

    | hostresorder local bind

    That's the sole correct line in your resolv.conf file.


    Any resolv.conf file needs a line or two of the type:

    nameserver www.xxx.yyy.zzz

    And I doubt that a namerserver situated at an unroutable IP number is of
    any use for reaching out to the rest of the world.

    --
    JP

  3. Re: DNS resolution issues with 5.0.5

    > | My resolv.conf is:
    > |
    > | domain hsinj
    >
    > Huh? What kind of domain is that? Not xyz.com, not abc.org, not
    > mno.net, not even something.uucp ???


    Years ago, the network was set up with a non-standard domain name.
    Registry mods allow it to cause no problem in the Microsoft end.

    >
    > | hsifs 192.168.1.15
    >
    > What is that line supposed to mean to the DNS resolver? It's hardly one
    > of the proper directives for the resolv.conf file.


    I didn't even notice that. It should have been commented out!

    All fixed, thanks!

+ Reply to Thread