Project

General

Profile

Actions

Bug #1699

closed

nfdc create: Host not found (authoritative)

Added by Junxiao Shi over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Faces
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Environment: A-D

Steps to reproduce:

  1. on host A, start bind9 on host with this zone file:

    $ORIGIN .
    $TTL    20
    autoconfig-test.tmp._homehub._autoconf.named-data.net    IN    SOA    ns1.autoconfig-test.tmp._homehub._autoconf.named-data.net. root.autoconfig-test.tmp._homehub._autoconf.named-data.net. (
                      3        ; Serial
                 604800        ; Refresh
                  86400        ; Retry
                2419200        ; Expire
                 604800 )    ; Negative Cache TTL
    ;
    autoconfig-test.tmp._homehub._autoconf.named-data.net.        IN    NS    ns1.autoconfig-test.tmp._homehub._autoconf.named-data.net.
    autoconfig-test.tmp._homehub._autoconf.named-data.net.           IN      MX    10      ns1.autoconfig-test.tmp._homehub._autoconf.named-data.net.
    
    _ndn._udp.autoconfig-test.tmp._homehub._autoconf.named-data.net.    SRV    0    0    6363    ns1.autoconfig-test.tmp._homehub._autoconf.named-data.net.
    $ORIGIN autoconfig-test.tmp._homehub._autoconf.named-data.net.
    
    localhost     A     127.0.0.1
    ns1           A   10.63.18.3
    
  2. on host D, write the following to /etc/resolv.conf

    search autoconf-test-none.named-data.net
    nameserver <hostA's IP>
    
  3. on host D, execute nfdc create udp://ns1.autoconfig-test.tmp._homehub._autoconf.named-data.net:6363

Expected: face udp4://10.63.18.3:6363 is created

Actual: ERROR: Face creation failed: Remote endpoint hostname or port cannot be resolved: Host not found (authoritative) (code: 408)

Note: This bug is discovered during ndn-autoconfig testing, but it's unrelated to autoconfig.

Note: 10.63.18.3 is an unreachable IP address in the environment, but UDP face doesn't depend on destination IP being reachable.


Files

1.pcap (2.07 KB) 1.pcap tcpdump on host D during nfdc create Junxiao Shi, 06/26/2014 02:00 AM
Actions

Also available in: Atom PDF