I'm trying to make a tor relay server over a http proxy on a ubuntu 14.04 lts machine.

Log output:

    $ cat /var/log/tor/log
    Aug 17 18:19:06.000 [notice] Tor 0.2.4.27 (git-412e3f7dc9c6c01a) opening new log file.
    Aug 17 18:19:06.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
    Aug 17 18:19:07.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
    Aug 17 18:19:08.000 [notice] Bootstrapped 5%: Connecting to directory server.
    Aug 17 18:20:43.000 [notice] Interrupt: exiting cleanly.
    Aug 17 18:20:45.000 [notice] Tor 0.2.4.27 (git-412e3f7dc9c6c01a) opening log file.
    Aug 17 18:20:45.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
    Aug 17 18:20:45.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
    Aug 17 18:20:45.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now.
    Aug 17 18:20:46.000 [notice] Your Tor server's identity key fingerprint is 'ididntedittheconfig 511FBDFE23658FB9C76695C2251753ED22F4D054'
    Aug 17 18:23:56.000 [warn] eventdns: All nameservers have failed
    $

My network settings are correct,i can connect to internet:

computer > router > http_proxy > internet

My torrc after correction looks like that:

    HTTPSProxy 192.168.x.x:44355

    ORPort 443
    Exitpolicy reject *:*
    Nickname ididntedittheconfig
    ContactInfo human@...

DNS settings:

    $ cat /etc/resolv.conf  
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 127.0.0.1
    $